summaryrefslogtreecommitdiff
path: root/src/traits.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* print less formatting errors in timesHEADmainstuebinm2024-09-091-8/+18
| | | | | | | | | | | | | | 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.
* do not require ds100 codes in API responsesstuebinm2024-09-091-2/+2
| | | | | these are not present when other hafas backends than the DB one were used for the trip's checkin.
* handle unknown times at stationsstuebinm2022-11-281-3/+11
| | | | | | (travelynx sends these as the literal epoch value, which led to really confusing results, printing exactly the time zone offset as arrival time)
* existential types in rust are weirdstuebinm2022-02-091-0/+34
… lots and lots of traits …