mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Correctly handle hour and minutes on the dot.
This commit is contained in:
parent
0581660cbe
commit
3db435180b
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user