From 748aec53e2b249652f6b45a754b7c63b3c314e95 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Thu, 16 Nov 2023 20:04:10 +0100 Subject: 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 --- lib/Travel/Routing/DE/HAFAS.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Travel/Routing/DE/HAFAS.pm') 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, ); } -- cgit v1.2.3