summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE/DeutscheBahn.pm
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2022-10-24 22:00:37 +0200
committerDaniel Friesel <derf@finalrewind.org>2022-10-24 22:00:37 +0200
commit37a805c369c8eba1c5d10ecd99c0a1a8e70f59f0 (patch)
tree08deedea87d65aa62c766232386f6d148f675827 /lib/Travel/Status/DE/DeutscheBahn.pm
parentac7abb4f0b8cce981856d4d109043c9904ffa9b5 (diff)
DeutscheBahn.pm: update documentation
Diffstat (limited to 'lib/Travel/Status/DE/DeutscheBahn.pm')
-rw-r--r--lib/Travel/Status/DE/DeutscheBahn.pm14
1 files 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<http://reiseauskunft.bahn.de/bin/bhftafel.exe/dn>.
+L<https://reiseauskunft.bahn.de/bin/mgate.exe>.
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 E<lt>derf@finalrewind.orgE<gt>
+Copyright (C) 2015-2022 by Daniel Friesel E<lt>derf@finalrewind.orgE<gt>
=head1 LICENSE