mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
00_KM271.pm: fix datetime day setting (Forum #56681)
git-svn-id: https://svn.fhem.de/fhem/trunk@25972 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
bf946b5b0c
commit
df5684a575
@ -636,7 +636,7 @@ KM271_Set($@)
|
||||
$val = sprintf("%02x%02x%02x%02x%02x%02x",
|
||||
$lt[0], $lt[1], $lt[2], # Ignoring DST and Radio-Clock
|
||||
$lt[3],
|
||||
($lt[4]+1) + (($lt[6] ? $lt[6] : 7) << 4),
|
||||
($lt[4]+1) + ((($lt[6]+6) % 7)<<4), # WDay: 0/Mon..6/Sun
|
||||
$lt[5]);
|
||||
}
|
||||
push @{$hash->{SENDBUFFER}}, sprintf($cmd, $val, $val);
|
||||
|
Loading…
Reference in New Issue
Block a user