Kaya-Sem / commandtrein

CLI tool for SNCB timetables and routes.
GNU General Public License v3.0
5 stars 1 forks source link

Bug: trains with delays show wrong "Departure in: ..." #14

Closed BWindey closed 1 month ago

BWindey commented 1 month ago

When viewing the timetable of a station, some trains are

Terminaal te laat

to quote the slogan ("terminally too late" for our English-speaking friends).

When viewing the "Departs in" just under the table, this can show something like "23h 55m", because the train should have started driving 5m ago, but has in reality 8m delay. The actual "Departs in" should show "3m".

Kaya-Sem commented 1 month ago

sigh

Kaya-Sem commented 1 month ago

Departure in ~ 5 minutes

departure in ±5min

Kaya-Sem commented 1 month ago

fixed with commit