diff options
Diffstat (limited to 'lib/DBInfoscreen/Helper/HAFAS.pm')
-rw-r--r-- | lib/DBInfoscreen/Helper/HAFAS.pm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/DBInfoscreen/Helper/HAFAS.pm b/lib/DBInfoscreen/Helper/HAFAS.pm index 4a3c3e7..2bef744 100644 --- a/lib/DBInfoscreen/Helper/HAFAS.pm +++ b/lib/DBInfoscreen/Helper/HAFAS.pm @@ -381,6 +381,17 @@ sub get_route_timestamps_p { $ret->{$name}{rt_dep} = $ret->{$name}{sched_dep} ->clone->add( minutes => $delay->{ddelay} ); } + if ( + ( + defined $delay->{adelay} + and $delay->{adelay} eq q{} + ) + or + ( defined $delay->{ddelay} and $delay->{ddelay} eq q{} ) + ) + { + $ret->{$name}{rt_bogus} = 1; + } } } |