mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
10_ZWave.pm: fix the clock for Sunday (Forum #66016)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13284 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
0f815f61e6
commit
94e88e735e
@ -2402,7 +2402,7 @@ sub
|
|||||||
ZWave_clockSet()
|
ZWave_clockSet()
|
||||||
{
|
{
|
||||||
my @l = localtime();
|
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
|
sub
|
||||||
|
Loading…
x
Reference in New Issue
Block a user