ivanov-gv / zpcg

Montenegro Railways Telegram Timetable Bot
https://t.me/Monterails_bot
0 stars 0 forks source link

This train arrives at the final station earlier than it departs from the first station. #3

Closed serge-10 closed 10 months ago

serge-10 commented 10 months ago

For Belgrade trains, there are stations that they pass on the following day after midnight. Because of this, the bot displays that the train arrives at the final station earlier than it departs from the first. Example: train zpcg.me/details?timetable=238.

ivanov-gv commented 10 months ago

now parser adds extra 24h to the departure and arrival time for the stops that are scheduled after midnight. fixed in #6

thank you!