summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Command/work.pm
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-05-19 08:55:23 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-05-19 08:55:23 +0200
commit7960114f71720f2c2fa86e74be4b80812edaef36 (patch)
tree82bdafef01c30b3ae3406a1c62e0d827a311c582 /lib/Travelynx/Command/work.pm
parent7486920a6a40d706bb8c9e99ba129dbe3f89bff7 (diff)
Work in progress: show connections when arriving soon
At the moment, the heuristic used to determine connection targets is quite simple: $station is a target iff there were at least two trips in the past 6 weeks with checkin at the current destination station and checkout at $station. Todo / enhanhement options: * Consider current origin station as well, i.e.: $station is a target iff there were at least two trips in the past 6 weeks which are preceded by a trip from the current origin station and (same as above) * Make connection links clickable once the current journey has ended. Connections need to be added to _checked_out as well for this to work.
Diffstat (limited to 'lib/Travelynx/Command/work.pm')
0 files changed, 0 insertions, 0 deletions