summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE/EFA.pm
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2023-11-26 13:41:37 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2023-11-26 13:41:37 +0100
commit8a6e430d22fb3269d4592c4e3e0a2b0bdf20147b (patch)
treefb2258c2bb9a15a5ba3dffe0bde93be4bb476606 /lib/Travel/Status/DE/EFA.pm
parenta5cb61ba7ca103dc4ae9cdca4edd18d251a43cb1 (diff)
EFA: Fix stop constructor (and thus efa -v / -V)
Diffstat (limited to 'lib/Travel/Status/DE/EFA.pm')
-rw-r--r--lib/Travel/Status/DE/EFA.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Travel/Status/DE/EFA.pm b/lib/Travel/Status/DE/EFA.pm
index 56a9342..c4cc090 100644
--- a/lib/Travel/Status/DE/EFA.pm
+++ b/lib/Travel/Status/DE/EFA.pm
@@ -375,10 +375,10 @@ sub parse_route {
push(
@ret,
Travel::Status::DE::EFA::Stop->new(
- arr_date => sprintf_date( $dates[0] ),
- arr_time => sprintf_time( $times[0] ),
- dep_date => sprintf_date( $dates[-1] ),
- dep_time => sprintf_time( $times[-1] ),
+ arr_date => scalar sprintf_date( $dates[0] ),
+ arr_time => scalar sprintf_time( $times[0] ),
+ dep_date => scalar sprintf_date( $dates[-1] ),
+ dep_time => scalar sprintf_time( $times[-1] ),
name => $e->getAttribute('name'),
name_suf => $e->getAttribute('nameWO'),
platform => $e->getAttribute('platformName'),