public-transport / transport.rest

Information about the *.transport.rest APIs.
https://transport.rest/
34 stars 4 forks source link

[v6.db] departures[].delay and departures[].plannedWhen are wrong #22

Open marsmathis opened 7 months ago

marsmathis commented 7 months ago

This IC has 6 minutes delay but the API shows 3960 seconds which is 1 hour and 6 minutes. Seems like something has gone wrong with timezones. I suspect the plannedWhen field is just programmed wrong and the delay is calculated as a difference between when and plannedWhen.

ic

Edit: This was my request URL: https://v6.db.transport.rest/stops/8000105/departures?when=now&duration=1200