summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2023-11-16 20:04:10 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2023-11-16 20:04:10 +0100
commit748aec53e2b249652f6b45a754b7c63b3c314e95 (patch)
tree7ad008a4a6c735bd9df93b64230f72f1ea955bc3 /bin
parent4c4be27780d9cdb3dd7e7646c8cd5e404788bd36 (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 'bin')
-rwxr-xr-xbin/hafas4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/hafas b/bin/hafas
index 354268a..5fdf34d 100755
--- a/bin/hafas
+++ b/bin/hafas
@@ -332,7 +332,7 @@ for my $res ( $hafas->connections ) {
"%-5s %-${have_delay}s ab %s%s%s\n",
$sec->dep_cancelled
? '--:--'
- : $sec->dep_datetime->strftime('%H:%M'),
+ : $sec->dep->strftime('%H:%M'),
format_delay( $sec->dep_delay ),
$sec->dep_loc->name,
$sec->dep_platform ? q{: } : q{},
@@ -342,7 +342,7 @@ for my $res ( $hafas->connections ) {
"%-5s %-${have_delay}s an %s%s%s\n",
$sec->arr_cancelled
? '--:--'
- : $sec->arr_datetime->strftime('%H:%M'),
+ : $sec->arr->strftime('%H:%M'),
format_delay( $sec->arr_delay ),
$sec->arr_loc->name,
$sec->arr_platform ? q{: } : q{},