Description
The wiki spec states that the time parameter accepts either a Unix millisecond timestamp or a datetime string in yyyy-MM-dd_HH-mm-ss format. Currently, parseTripParams only accepts Unix milliseconds. Passing time=2024-06-15_14-30-00 returns HTTP 400.
Expected Behaviour
- time=1718459400000 → accepted (current behaviour)
- time=2024-06-15_14-30-00 → accepted, parsed as 2:30 PM on that date in the agency's timezone
Description
The wiki spec states that the time parameter accepts either a Unix millisecond timestamp or a datetime string in yyyy-MM-dd_HH-mm-ss format. Currently, parseTripParams only accepts Unix milliseconds. Passing time=2024-06-15_14-30-00 returns HTTP 400.
Expected Behaviour