summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorstuebinm2024-09-09 17:24:14 +0200
committerstuebinm2024-09-09 17:24:14 +0200
commitd876202506621eb76012c12cbb0e91fd2bb0ada0 (patch)
tree0aae96f78f6284fb45c022ceb000a3baaf574a2f /src/main.rs
parent002b7d02d57d52bdb5309092285ea94c4cd68f7e (diff)
print less formatting errors in timesHEADmain
these used to go wrong in case there was no real-time info on departure times. Instead traveltext now falls back on scheduled departure times if no real-time info is available. These still fail sometimes (at exit-only stops both appear to be unset on the oebb hafas), but it's a lot better than what was before. Also I've observed travelynx returning actual null values for missing time stamps now, so the old hack of checking if timestamp = unix epoch and considering that "unknown" might no longer be necessary, but I'm keeping it around just in case.
Diffstat (limited to 'src/main.rs')
0 files changed, 0 insertions, 0 deletions