diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2023-11-16 20:04:10 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2023-11-16 20:04:10 +0100 |
commit | 748aec53e2b249652f6b45a754b7c63b3c314e95 (patch) | |
tree | 7ad008a4a6c735bd9df93b64230f72f1ea955bc3 /lib/Travel/Routing/DE/HAFAS.pm | |
parent | 4c4be27780d9cdb3dd7e7646c8cd5e404788bd36 (diff) |
Rename {arr,dep}_datetime to {arr,dep}
This is consistent with the naming of sched_{arr,dep} and rt_{arr,dep} as well
ase the accessors of Travel::Status::DE::HAFAS::Stop
Diffstat (limited to 'lib/Travel/Routing/DE/HAFAS.pm')
-rw-r--r-- | lib/Travel/Routing/DE/HAFAS.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Travel/Routing/DE/HAFAS.pm b/lib/Travel/Routing/DE/HAFAS.pm index 74e21b5..f6cf6a1 100644 --- a/lib/Travel/Routing/DE/HAFAS.pm +++ b/lib/Travel/Routing/DE/HAFAS.pm @@ -648,9 +648,9 @@ Travel::Routing::DE::HAFAS - Interface to HAFAS itinerary services if ( $sec->type eq 'JNY' ) { printf("%s -> %s\n%s ab %s\n%s an %s\n\n", $sec->name, $sec->direction, - $sec->dep_datetime->strftime('%H:%M'), + $sec->dep->strftime('%H:%M'), $sec->dep_loc->name, - $sec->arr_datetime->strftime('%H:%M'), + $sec->arr->strftime('%H:%M'), $sec->arr_loc->name, ); } |