summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* do not require ds100 codes in API responsesstuebinm2024-09-095-12/+12
| | | | | these are not present when other hafas backends than the DB one were used for the trip's checkin.
* switch to another fork of hafas-rsstuebinm2023-04-173-323/+578
| | | | (yuka's version is no longer maintained & broke)
* 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)
* add naersk / nix buildstuebinm2022-06-056-2/+197
|
* add import from hafas to travelynxstuebinm2022-04-213-11/+685
| | | | (using yuka's hafas-rs)
* from / to commands for travelynxstuebinm2022-02-263-10/+50
|
* fix the Trip type (and make it Display)stuebinm2022-02-264-34/+36
| | | | it's not as nice as i'd like, but whatever
* iceportal: cancelled stops have state nullstuebinm2022-02-261-1/+2
| | | | which … fine, i guess
* existential types in rust are weirdstuebinm2022-02-098-202/+312
| | | | … lots and lots of traits …
* S-Bahns are weirdstuebinm2022-02-083-1/+123
| | | | (added a simple zugportal.de api client, but can't do auto-checkin yet)
* we'll be there in -1000 minutes isn't helpfulstuebinm2022-02-023-4/+14
|
* pretty print pretty printing codestuebinm2022-02-017-457/+488
|
* are we there yet?stuebinm2022-02-012-1/+24
| | | | | (also why do people get up from their seats a solid nine minutes before the train is even scheduled to arrive at all?)
* handle (esp. iceportal) timestamps correctlystuebinm2022-02-014-61/+68
| | | | | why use unix time if you can use unix time * 1000 while your margin of error will never be lower than a full minute?
* display iceportal itinery & stopsstuebinm2022-02-016-28/+80
| | | | | | | I'm pretty sure something in parsing the times is broken, since this train is currently /also/ broken I have absolutely no idea what the correct ones would be and don't have the energy to dig further into this.
* better output if there are no intermediate stopsstuebinm2022-02-011-10/+8
|
* add `traveltext destination`stuebinm2022-02-012-0/+19
| | | | I have no intention of going to Hamburg today, so I need to check out earlier
* sadly i'm not on a ICE right nowstuebinm2022-01-261-4/+10
|
* add a config file because why notstuebinm2022-01-263-24/+128
|
* some code deduplicationsstuebinm2022-01-251-69/+88
|
* hacky proof of conceptstuebinm2022-01-258-0/+1271