From 37a805c369c8eba1c5d10ecd99c0a1a8e70f59f0 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 24 Oct 2022 22:00:37 +0200 Subject: DeutscheBahn.pm: update documentation --- lib/Travel/Status/DE/DeutscheBahn.pm | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/lib/Travel/Status/DE/DeutscheBahn.pm b/lib/Travel/Status/DE/DeutscheBahn.pm index 5235dcb..008dee5 100644 --- a/lib/Travel/Status/DE/DeutscheBahn.pm +++ b/lib/Travel/Status/DE/DeutscheBahn.pm @@ -40,7 +40,7 @@ monitor operated by Deutsche Bahn for my $departure ($status->results) { printf( "At %s: %s to %s from platform %s\n", - $departure->time, + $departure->datetime->strftime('%H:%M'), $departure->line, $departure->destination, $departure->platform, @@ -55,7 +55,7 @@ version 3.01 Travel::Status::DE::DeutscheBahn is an interface to the Deutsche Bahn departure monitor available at -L. +L. It takes a station name and (optional) date and time and reports all arrivals or departures at that station starting at the specified point in time (now if @@ -79,23 +79,19 @@ and other methdos. =head1 DIAGNOSTICS -None. +See Travel::Status::DE::HAFAS(3pm). =head1 DEPENDENCIES =over -=item * Class::Accessor(3pm) - -=item * LWP::UserAgent(3pm) - =item * Travel::Status::DE::HAFAS(3pm) =back =head1 BUGS AND LIMITATIONS -Unknown. +See Travel::Status::DE::HAFAS(3pm). =head1 SEE ALSO @@ -103,7 +99,7 @@ Travel::Status::DE::HAFAS(3pm). =head1 AUTHOR -Copyright (C) 2015-2017 by Daniel Friesel Ederf@finalrewind.orgE +Copyright (C) 2015-2022 by Daniel Friesel Ederf@finalrewind.orgE =head1 LICENSE -- cgit v1.2.3