mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
10_ZWave.pm: fix the clock for Sunday (Forum #66016)
git-svn-id: https://svn.fhem.de/fhem/trunk@13284 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e6bf179cbb
commit
323bf26b29
@ -2402,7 +2402,7 @@ sub
|
||||
ZWave_clockSet()
|
||||
{
|
||||
my @l = localtime();
|
||||
return ("", sprintf("04%02x%02x", ($l[6]<<5)|$l[2], $l[1]));
|
||||
return ("", sprintf("04%02x%02x", (($l[6] ? $l[6]:7)<<5)|$l[2], $l[1]));
|
||||
}
|
||||
|
||||
sub
|
||||
|
Loading…
Reference in New Issue
Block a user