aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sql/clone_schema.sql
diff options
context:
space:
mode:
authorTeddy Wing2017-05-30 15:29:14 +0200
committerTeddy Wing2017-05-31 17:57:36 +0200
commitd84e2cd810a643c8f3de3cadb24c019d3bf5f744 (patch)
tree159500e21d25e937a3bc52df4e4c5958f8add2f5 /lib/sql/clone_schema.sql
parent43c14bc8c916d00a9c478f1e78d5860977c56bbe (diff)
downloadchouette-core-d84e2cd810a643c8f3de3cadb24c019d3bf5f744.tar.bz2
vehicle_journey_at_stops_day_offset_spec.rb: Get rid of hard-coded date
I used '2000-01-01' because that's what the VehicleJourneyfactory does for VehicleJourneyAtStops. Ultimately, though, explicitly setting a date is confusing because the `arrival_time` & `departure_time` fields should be time-only, and not have dates. The date is added automatically but isn't used and it shouldn't matter that it's there. (My guess is that it's added by the database adapter or something like that.) To make this code less confusing and make it clear that we only care about the times, get rid of the dates. Refs #3596
Diffstat (limited to 'lib/sql/clone_schema.sql')
0 files changed, 0 insertions, 0 deletions