diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-09-28 14:06:35 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-09-28 14:06:35 +0200 |
commit | 38271475ea9202279f4cc304dc9c7553d97e0f42 (patch) | |
tree | 2615b9f896bb33a0974ffde413be51233fb6799d /lib/Travel/Status | |
parent | 7dbd5108f5aa528e7807af3daafdd7dfb07ac4fb (diff) |
HAFAS->new: stationboard: Set seconds to 00 for better caching
Diffstat (limited to 'lib/Travel/Status')
-rw-r--r-- | lib/Travel/Status/DE/HAFAS.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travel/Status/DE/HAFAS.pm b/lib/Travel/Status/DE/HAFAS.pm index 316d583..6faf2b4 100644 --- a/lib/Travel/Status/DE/HAFAS.pm +++ b/lib/Travel/Status/DE/HAFAS.pm @@ -178,7 +178,7 @@ sub new { } else { my $date = ( $conf{datetime} // $now )->strftime('%Y%m%d'); - my $time = ( $conf{datetime} // $now )->strftime('%H%M%S'); + my $time = ( $conf{datetime} // $now )->strftime('%H%M00'); my $lid; if ( $self->{station} =~ m{ ^ [0-9]+ $ }x ) { |