2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

98_DOIF.pm: fixed isday with relative timer

git-svn-id: https://svn.fhem.de/fhem/trunk@27363 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Damian 2023-03-27 13:43:55 +00:00
parent b138470d08
commit 15214000e6

View File

@ -3913,7 +3913,7 @@ sub DOIF_SetTimer {
$next_time+=86400;
}
($sec,$min,$hour,$mday,$month,$year,$wday,$yday,$isdst) = localtime($next_time);
if ($isdst_now != $isdst) {
if ($isdst_now != $isdst and !$rel) {
if ($isdst_now == 1) {
$next_time+=3600 if ($isdst == 0);
} else {