Skip to content

Commit

Permalink
Fixed a bug that was causing invalid date exceptions when getting lis…
Browse files Browse the repository at this point in the history
…t of active buses
  • Loading branch information
bschoenfeld committed Mar 3, 2012
1 parent 487049a commit f5cf898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/hrt_bus/bus.rb
Expand Up @@ -63,7 +63,7 @@ def self.active_buses
row[4],
row[7]

time = HrtBus::Parse.time([time, date].join(""))
time = HrtBus::Parse.time([time, date].join(" "))
lat, lon = HrtBus::Parse.geo(lat_lon)

bus = new(:id => id, :time => time, :route_id => route_id, :lat => lat, :lon => lon)
Expand Down

0 comments on commit f5cf898

Please sign in to comment.