Unverified Commit 38271475 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

HAFAS->new: stationboard: Set seconds to 00 for better caching

parent 7dbd5108
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 ) {