diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-07-18 09:18:28 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-07-18 09:18:28 +0200 |
commit | 763920193d3fe46125e54f2d53580be7cb7fcf38 (patch) | |
tree | 40934a33a6ade8ad4b6a6900c0d0efc608fe3786 /lib | |
parent | 18e06ad1831b8ea45a87426b75243a7f4ef9f534 (diff) |
Show cancelled stops in HAFAS-only train details view
Diffstat (limited to 'lib')
-rw-r--r-- | lib/DBInfoscreen/Helper/HAFAS.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/DBInfoscreen/Helper/HAFAS.pm b/lib/DBInfoscreen/Helper/HAFAS.pm index 2bef744..2bc252a 100644 --- a/lib/DBInfoscreen/Helper/HAFAS.pm +++ b/lib/DBInfoscreen/Helper/HAFAS.pm @@ -392,6 +392,9 @@ sub get_route_timestamps_p { { $ret->{$name}{rt_bogus} = 1; } + if ( $delay->{ddelay} and $delay->{ddelay} eq 'cancel' ) { + $ret->{$name}{isCancelled} = 1; + } } } |