mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-04 05:16:45 +00:00
55_GDS.pm - improved timezone offset handling
git-svn-id: https://svn.fhem.de/fhem/trunk@5648 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d29d48cf6a
commit
0996896b1e
@ -126,7 +126,8 @@ sub GDS_Define($$$) {
|
||||
} else {
|
||||
Log3($name, 3, "GDS $name: No datafile (alerts) found");
|
||||
}
|
||||
readingsSingleUpdate($hash, "state", "active",1);
|
||||
readingsSingleUpdate($hash, '_tzOffset', _calctz(time,localtime(time))*3600, 0);
|
||||
readingsSingleUpdate($hash, 'state', 'active',1);
|
||||
|
||||
return undef;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user