lib/easy_transilien/trip.rb in easy_transilien-1.0.0 vs lib/easy_transilien/trip.rb in easy_transilien-1.0.1

- old
+ new

@@ -80,11 +80,11 @@ item.to_stop = item.stops.select { |ts| ts.station_external_code == to_station.external_code }.first next if item.from_stop.nil? || item.to_stop.nil? # drop item if this journey doesn't deserve our from_stop or to_stop item.access_time = journey.access_time item.ms_journey = journey item.mission = journey.name - item.start_time = item.from_stop.ms_stop.stop_time.time - item.arrival_time = item.to_stop.ms_stop.stop_time.time + item.start_time = item.from_stop.ms_stop.stop_time + item.arrival_time = item.to_stop.ms_stop.stop_time trips << item end trips.sort