2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-07 23:09:26 +00:00

bugfix - since value after day change

git-svn-id: https://svn.fhem.de/fhem/trunk@5988 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
tpoitzsch 2014-05-27 17:00:00 +00:00
parent 911ede8684
commit 329c5a4a0f

View File

@ -627,7 +627,7 @@ statistics_doStatisticDelta ($$$$$)
if ($showDate == 5) { $showDate = 4; } # Do not show the "since:" value for day changes anymore
if ($showDate >= 6) { # Shows the "since:" value for the first day change
$showDate = 5;
$last[9] = sprintf "%.".$decPlaces."f", $stat[9];
$last[9] = $stat[9];
# Next monthly and yearly values start at 00:00 and show only date (no time)
$stat[5] = 0;
$stat[7] = 0;