DST change fixes

git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@614 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2010-04-02 14:20:53 +00:00
parent 0cf2ccf216
commit add13d622a
4 changed files with 29 additions and 5 deletions

View File

@@ -53,7 +53,7 @@ at_Define($$)
$nt -= ($lt[2]*3600+$lt[1]*60+$lt[0]) # Midnight for absolute time
if($rel ne "+");
$nt += ($hr*3600+$min*60+$sec); # Plus relative time
$nt += 86400 if($ot >= $nt); # Do it tomorrow...
$nt += SecondsTillTomorrow($ot) if($ot >= $nt); # Do it tomorrow...
$nt += $at_tdiff if(defined($at_tdiff));
@lt = localtime($nt);