Open klukas144 opened 4 months ago
I can confirm this behavior. The JSON API requests for the mentioned times result in empty departure data:
GET https://traewelling.de/api/v1/station/8937/departures?when=2024-07-24T04:45:00.000000Z&travelType=
GET https://traewelling.de/api/v1/station/8937/departures?when=2024-07-24T05:00:00.000000Z&travelType=
There was a time offset for this station. @HerrLevin do you have more information how this happen? You've programmed the timezone things. :D
I've removed the offset, now the departures are loading again.
You've programmed the timezone things. :D
I... uhm... apparently I didn't do a great job 😂
I really don't know how THAT happened
I think there are a few Stations with a similar Problem...
Some details:
e.g. 14:52 (GMT+1) service from Aberdeen (saved as GMT+2 in HAFAS)
HAFAS knows this journey: https://v6.db.transport.rest/stops/7000011/departures?when=2024-07-29T12%3A50%3A00%2B00%3A00&duration=5
But it doesn't work in Traewelling: https://traewelling.de/stationboard?stationId=5599&stationName=Aberdeen&when=2024-07-29T12%3A50%3A00.000Z&travelType=
The same goes for Košice, which has an -8 hours time zone offset, even though it's in the same as Germany.
I believe a similar thing is happening with London St Pancras. Searching for trains departing at 11:00 shows results for around 21:00
Describe the bug
The departures from my home stop between 4:15 AM and 7:00 AM (until 9:25 on Saturdays and 9:30 on Sundays) aren't shown in Träwelling (not even if you try to do this within this time while being on the tram you want to check in). The DB Navigator is indeed showing the departures (example for Monday, 15 July).
Steps to reproduce
Go to Träwelling Search for departures from Karl-Wilhelm-Platz, Karlsruhe on a random work day between 5 and 7. See "no departures found"
Browser console logs
Browser
Chrome