summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Helper
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2022-12-12 18:20:40 +0100
committerDaniel Friesel <derf@finalrewind.org>2022-12-12 18:20:40 +0100
commitfc9562f7901deb04afb548f9a02a314f4e1dc27a (patch)
tree4036740178e7a4462b4a0b2d16898bb9b922a17a /lib/Travelynx/Helper
parent5de6dfb4e1712c1afea94a3f1ff813e96f0d40e2 (diff)
Improve "Betriebsstelle nicht bekannt" handling1.28.2
Diffstat (limited to 'lib/Travelynx/Helper')
-rw-r--r--lib/Travelynx/Helper/HAFAS.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Travelynx/Helper/HAFAS.pm b/lib/Travelynx/Helper/HAFAS.pm
index 6d2f6d2..4899a68 100644
--- a/lib/Travelynx/Helper/HAFAS.pm
+++ b/lib/Travelynx/Helper/HAFAS.pm
@@ -124,7 +124,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 => _epoch( $stop->{sched_arr} ),
sched_dep => _epoch( $stop->{sched_dep} ),
rt_arr => _epoch( $stop->{rt_arr} ),