summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-09-28 14:06:35 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-09-28 14:06:35 +0200
commit38271475ea9202279f4cc304dc9c7553d97e0f42 (patch)
tree2615b9f896bb33a0974ffde413be51233fb6799d
parent7dbd5108f5aa528e7807af3daafdd7dfb07ac4fb (diff)
HAFAS->new: stationboard: Set seconds to 00 for better caching
-rw-r--r--lib/Travel/Status/DE/HAFAS.pm2
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 ) {