diff --git a/lib/Travel/Status/DE/DeutscheBahn.pm b/lib/Travel/Status/DE/DeutscheBahn.pm index 5235dcb9684333acb45b35c73cf2eaafd26190da..008dee51ad0a850b2dd21b0e4c3abb4407c16dec 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