Closed devinbraun closed 7 years ago
@devinbraun Thanks for the report! Yes, I'm assuming this is a time conversion bug in the GTFS-rt output API. GTFS-rt times are seconds past epoch vs. milliseconds past epoch.
Actually, I believe this is the wrong project for this bug report - it should be filed on https://github.com/OneBusAway/onebusaway-application-modules. I'll move it there.
http://realtime.sdmts.com/api/api/gtfs_realtime/alerts-for-agency/MTS.pbtext?key=org.onebusaway.iphone
When viewing the GTFS-realtime feed alerts output at the link above, the active_period start and end time are incorrect. They are off by a multiple of 1000.
When viewing the alerts in the OBA console, the start and end times are correct. It appears that it might be only an issue in the output of the API endpoint?