summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE/EFA.pm
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2023-12-03 08:10:54 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2023-12-03 08:10:54 +0100
commit1d4a55f4e0f1d68264b033e37a9b58c19efa00d8 (patch)
tree63dced9c890e4f5c7410d0f7ad430e59705b5aa7 /lib/Travel/Status/DE/EFA.pm
parent326ef3facb8c8c6e6481440dad227a4af44c30ef (diff)
Update documentation examples to use datetime accessor
Diffstat (limited to 'lib/Travel/Status/DE/EFA.pm')
-rw-r--r--lib/Travel/Status/DE/EFA.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Travel/Status/DE/EFA.pm b/lib/Travel/Status/DE/EFA.pm
index 68363a6..01c9604 100644
--- a/lib/Travel/Status/DE/EFA.pm
+++ b/lib/Travel/Status/DE/EFA.pm
@@ -658,7 +658,8 @@ Travel::Status::DE::EFA - unofficial EFA departure monitor
for my $d ($status->results) {
printf(
"%s %-8s %-5s %s\n",
- $d->time, $d->platform_name, $d->line, $d->destination
+ $d->datetime->strftime('%H:%M'),
+ $d->platform_name, $d->line, $d->destination
);
}