Permalink
Browse files

Populate journeys with their JourneyPatterns (for now, until JourneyP…

…attern is examined in more detail).
  • Loading branch information...
1 parent 2692fdf commit 6815ce9c4c9729afa93f9a8e5605cb14300d741a @pekim committed Jul 4, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/line.coffee
View
@@ -22,6 +22,8 @@ class Line
[journey.departureTime.hour, journey.departureTime.minute, journey.departureTime.second] =
vehicleJourney.DepartureTime.split(':')
+ journey.journeyPattern = @ids[vehicleJourney.JourneyPatternRef]
+
@journeys.push(journey)
module.exports = Line

0 comments on commit 6815ce9

Please sign in to comment.