Bugfix: Double at

git-svn-id: https://svn.fhem.de/fhem/trunk@142 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2008-01-02 16:03:40 +00:00
parent b08a8e46c2
commit c79620e79a

View File

@@ -71,7 +71,7 @@ sr($$$$)
$sst += ($seconds/3600); $sst += ($seconds/3600);
my $diff = 0; my $diff = 0;
if($nh >= $sst) { if(int(($nh-$sst)*3600) >= 0) {
$nt += 86400; # Tommorow $nt += 86400; # Tommorow
$diff = 24; $diff = 24;
@lt = localtime($nt); @lt = localtime($nt);