mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
fhem.pl: reformat for Boris (git bugid 7)
git-svn-id: https://svn.fhem.de/fhem/trunk@8319 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
29dce9435a
commit
6357805578
@ -3820,8 +3820,9 @@ fhemTzOffset($)
|
|||||||
|
|
||||||
# the offset is positive if the local timezone is ahead of GMT, e.g. we get
|
# the offset is positive if the local timezone is ahead of GMT, e.g. we get
|
||||||
# 2*3600 seconds for CET DST vs GMT
|
# 2*3600 seconds for CET DST vs GMT
|
||||||
return 60*(($l[2] - $g[2] + ((($l[5]<<9)|$l[7]) <=> (($g[5]<<9)|$g[7])) * 24)*
|
return 60*(($l[2] - $g[2] +
|
||||||
60 + $l[1] - $g[1]);
|
((($l[5] << 9)|$l[7]) <=> (($g[5] << 9)|$g[7])) * 24)*60 +
|
||||||
|
$l[1] - $g[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
sub
|
sub
|
||||||
|
Loading…
x
Reference in New Issue
Block a user