summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen/Helper/HAFAS.pm
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2022-12-11 16:19:24 +0100
committerDaniel Friesel <derf@finalrewind.org>2022-12-11 16:19:24 +0100
commit11b153dd92382c94e4af30fa777f77b3737cab57 (patch)
tree0ee84794b91808d974e5637947f5c2007e306c62 /lib/DBInfoscreen/Helper/HAFAS.pm
parent0cbc7180d96da8ba6b96f8d4cbd0a81241f37d63 (diff)
handle "Betriebsstelle nicht bekannt" in routes4.14.4
Diffstat (limited to 'lib/DBInfoscreen/Helper/HAFAS.pm')
-rw-r--r--lib/DBInfoscreen/Helper/HAFAS.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/DBInfoscreen/Helper/HAFAS.pm b/lib/DBInfoscreen/Helper/HAFAS.pm
index 6af47e3..a6769aa 100644
--- a/lib/DBInfoscreen/Helper/HAFAS.pm
+++ b/lib/DBInfoscreen/Helper/HAFAS.pm
@@ -217,7 +217,9 @@ sub get_route_timestamps_p {
my $station_is_past = 1;
for my $stop ( $journey->route ) {
my $name = $stop->{name};
- $ret->{$name} = {
+ $ret->{$name} = $ret->{ $stop->{eva} } = {
+ name => $stop->{name},
+ eva => $stop->{eva},
sched_arr => $stop->{sched_arr},
sched_dep => $stop->{sched_dep},
rt_arr => $stop->{rt_arr},