bds/hrt_bus — Issue #1: Invalid Date Exception In active_buses Method
Author: bschoenfeld
Created: 2012-03-03 06:43:45+00:00
State: open

Looks like there is a typo in bus.rb on line 66

time = HrtBus::Parse.time([time, date].join(""))
Resulting data looks like this: 01:35:2603/03

The Parse function is expecting a space in there: DateTime.strptime(data, '%H:%M:%S %m/%d')

Amazingly, this bug didn't break everything all the time. Just didn't work for some data. Adding a space to the join fixes it.