marudor / bahn.expert

https://bahn.expert

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Train search results for 76539 are off by one in date, stay at the same date when trying to go down from 2024-04-03 to 2024-04-02, and infinite load when trying to go down one more day.

dreirund opened this issue · comments

Describe the bug

Train search results for 76539 are off by one in date, stay at the same date when trying to go down from 2024-04-03 to 2024-04-02, and infinite load when trying to go down one more day.

To Reproduce

Steps to reproduce the behavior:

  1. Open local train "76539" for 2024-04-03:
    trainsearch_76539,
  2. See the result for 2024-04-04:
    trainsearch-result_76539,
  3. Click back two days,
  4. See that on the second click, the date shown does not count down anymore (it is still at 2024-04-03)
  5. Click back one day more,
  6. See that the page stays busy in "loading" but does not load anything:
    infitite-load,
  7. Click back one more day and see the result for 2024-04-01,
  8. Click forward one day and see the result for 2024-04-03,
  9. Click forward two more days, and then back one day, and again see infinite loading
    (actually, infinite load then can be reproduced regularly when going forward and then going backward).

Expected behavior

Get correct dates displayed, get advancement of one day when clicking, and not infinite load (if there is some data error get an information about the data error).

Screenshots

Are already included in "To Reproduce".

Desktop (please complete the following information):

Smartphone

None.