Merge branch 'master' of git.hjp.at:hjp/timeseries

This commit is contained in:
Peter J. Holzer 2022-03-13 21:41:24 +01:00 committed by Peter J. Holzer
commit 730393cb18
1 changed files with 1 additions and 1 deletions

View File

@ -553,7 +553,7 @@ sub get_ticks {
$sec = $min = $hour = 0;
$mday = 1;
$mon = 0;
$year = floor($year / 5) * 5;
$year = floor(($year + 1900) / 5) * 5;
$firsttime = timelocal($sec,$min,$hour,$mday,$mon,$year);
$label = '%Y-%m-%d';