Merge branch 'master' of git.hjp.at:hjp/timeseries
This commit is contained in:
commit
730393cb18
|
@ -553,7 +553,7 @@ sub get_ticks {
|
||||||
$sec = $min = $hour = 0;
|
$sec = $min = $hour = 0;
|
||||||
$mday = 1;
|
$mday = 1;
|
||||||
$mon = 0;
|
$mon = 0;
|
||||||
$year = floor($year / 5) * 5;
|
$year = floor(($year + 1900) / 5) * 5;
|
||||||
$firsttime = timelocal($sec,$min,$hour,$mday,$mon,$year);
|
$firsttime = timelocal($sec,$min,$hour,$mday,$mon,$year);
|
||||||
|
|
||||||
$label = '%Y-%m-%d';
|
$label = '%Y-%m-%d';
|
||||||
|
|
Loading…
Reference in New Issue