X-Git-Url: https://git-public.kairo.at/?p=php-utility-classes.git;a=blobdiff_plain;f=include%2Fclasses%2Frrdstat.php-class;h=083ccfeee052b1e117883516455dd919fba2cd26;hp=15cca53b77b2b86af2e9668862e19b6a9eaef7a9;hb=dfe923be2cbefae0a48476f58286050d26bad830;hpb=25b93a4dbffdb90f9dba75729b23176ab6fcdbe8 diff --git a/include/classes/rrdstat.php-class b/include/classes/rrdstat.php-class index 15cca53..083ccfe 100644 --- a/include/classes/rrdstat.php-class +++ b/include/classes/rrdstat.php-class @@ -319,8 +319,8 @@ class rrdstat { $duration = isset($gconf['duration'])?$gconf['duration']:396*86400; // 365+31 days $slice = isset($gconf['slice'])?$gconf['slice']:86400; // 1 day // vertical lines at month borders - $addSpecial .= ' VRULE:'.strtotime(date('Y-01-01')).'#FF0000'; - $addSpecial .= ' VRULE:'.strtotime(date('Y-01-01').' -1 year').'#FF0000'; + $addSpecial .= ' VRULE:'.strtotime(date('Y-01-01 12:00:00')).'#FF0000'; + $addSpecial .= ' VRULE:'.strtotime(date('Y-01-01 12:00:00').' -1 year').'#FF0000'; } else { $duration = isset($gconf['duration'])?$gconf['duration']:$this->rrd_step*500; // 500 steps