summaryrefslogtreecommitdiff
path: root/lib/Travel/Routing/DE
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2023-11-22 21:22:20 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2023-11-22 21:22:20 +0100
commit30eff16801a7533ad176cb76cace0ba3aa861336 (patch)
tree0ff7fbcd424d1913635cb0197b5e39fe6be37057 /lib/Travel/Routing/DE
parent10acec329cce1356b3965a1ae3819711f21e5939 (diff)
Route/Part, efa: Expose via delays
Diffstat (limited to 'lib/Travel/Routing/DE')
-rw-r--r--lib/Travel/Routing/DE/EFA.pm8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/Travel/Routing/DE/EFA.pm b/lib/Travel/Routing/DE/EFA.pm
index 79e6636..edfc918 100644
--- a/lib/Travel/Routing/DE/EFA.pm
+++ b/lib/Travel/Routing/DE/EFA.pm
@@ -726,8 +726,9 @@ sub parse_xml_part {
next;
}
- my $name = $ve->getAttribute('name');
- my $platform = $ve->getAttribute('platformName');
+ my $name = $ve->getAttribute('name');
+ my $platform = $ve->getAttribute('platformName');
+ my $arr_delay = $ve->getAttribute('arrDelay');
if ( $name eq $hash->{departure_stop}
or $name eq $hash->{arrival_stop} )
@@ -741,7 +742,8 @@ sub parse_xml_part {
$self->itddate_str($e_vdate),
$self->itdtime_str($e_vtime),
$name,
- $platform
+ $platform,
+ $arr_delay,
]
);
}