From 6f14e78306248797272440d5df5b68bdbfe4f02d Mon Sep 17 00:00:00 2001 From: nasseeder1 Date: Thu, 16 Jan 2020 21:10:18 +0000 Subject: [PATCH] 93_DbRep: contrib 8.30.4 git-svn-id: https://svn.fhem.de/fhem/trunk@20998 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/DS_Starter/93_DbRep.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fhem/contrib/DS_Starter/93_DbRep.pm b/fhem/contrib/DS_Starter/93_DbRep.pm index eb2be6f2e..7d5c68b0f 100644 --- a/fhem/contrib/DS_Starter/93_DbRep.pm +++ b/fhem/contrib/DS_Starter/93_DbRep.pm @@ -58,7 +58,7 @@ no if $] >= 5.017011, warnings => 'experimental::smartmatch'; # Version History intern our %DbRep_vNotesIntern = ( - "8.30.4" => "16.01.2020 correction writeToDB ", + "8.30.4" => "16.01.2020 attribute timeAdjust for correction OutputWriteToDB ", "8.30.3" => "28.11.2019 countEntries encode \$device, change count_ParseDone for \"countEntriesDetail\" ", "8.30.2" => "24.11.2019 change order of delete(\$hash->{HELPER}{RUNNING_PID}) in *_ParseDone routines, Forum: https://forum.fhem.de/index.php/topic,105591.msg996089.html#msg996089 ", "8.30.1" => "22.11.2019 commandref revised ", @@ -10659,10 +10659,10 @@ sub DbRep_OutputWriteToDB($$$$$) { if($time !~ /^(\d{2}):(\d{2}):(\d{2})$/) { if($aggr =~ /no|day|week|month/) { $time = "23:59:58"; - $time = "00:00:01" if AttrVal($name, "timeAdjust", "beginDay"); + $time = "00:00:01" if AttrVal($name, "timeAdjust", "beginDay"); # Forum: https://forum.fhem.de/index.php/topic,105787.msg1013892.html#msg1013892 } elsif ($aggr =~ /hour/) { $time = "$time:59:58"; - $time = "$time:00:01" if AttrVal($name, "timeAdjust", "beginDay"); + $time = "$time:00:01" if AttrVal($name, "timeAdjust", "beginDay"); # Forum: https://forum.fhem.de/index.php/topic,105787.msg1013892.html#msg1013892 } } if ($value) { @@ -10685,10 +10685,10 @@ sub DbRep_OutputWriteToDB($$$$$) { if($time !~ /^(\d{2}):(\d{2}):(\d{2})$/) { if($aggr =~ /no|day|week|month/) { $time = "23:59:58"; - $time = "00:00:01" if AttrVal($name, "timeAdjust", "beginDay"); + $time = "00:00:01" if AttrVal($name, "timeAdjust", "beginDay"); # Forum: https://forum.fhem.de/index.php/topic,105787.msg1013892.html#msg1013892 } elsif ($aggr =~ /hour/) { $time = "$time:59:58"; - $time = "$time:00:01" if AttrVal($name, "timeAdjust", "beginDay"); + $time = "$time:00:01" if AttrVal($name, "timeAdjust", "beginDay"); # Forum: https://forum.fhem.de/index.php/topic,105787.msg1013892.html#msg1013892 } } if ($value) {