mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-04 05:16:45 +00:00
SVG X-Axis fix, second try (Forum #25768).
git-svn-id: https://svn.fhem.de/fhem/trunk@6354 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
79c398e7c2
commit
43314a9e8a
@ -1210,7 +1210,8 @@ SVG_render($$$$$$$$$)
|
||||
$initoffset = $step;
|
||||
|
||||
if(AttrVal($FW_wname, "endPlotNow", undef) && $ddur>1.1 && $ddur<7.1) {
|
||||
$initoffset -= (86400-time()%86400); # Forum #25768
|
||||
my $now = time();
|
||||
$initoffset -= ($now+fhemTzOffset($now))%86400; # Forum #25768
|
||||
}
|
||||
|
||||
$initoffset = int(($step/2)/86400)*86400 if($aligntext);
|
||||
|
Loading…
x
Reference in New Issue
Block a user