summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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