Correctly handle hour and minutes on the dot.

This commit is contained in:
Scott Ullrich 2007-04-01 18:07:49 +00:00
parent 0581660cbe
commit 3db435180b

View File

@ -599,7 +599,7 @@ function tdr_hour($schedule) {
$now = strtotime("now");
if($debug)
echo "S: $starting_time E: $ending_time N: $now \n";
if($now > $starting_time and $now < $ending_time)
if($now >= $starting_time and $now <= $ending_time)
return true;
return false;
}