diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-04-01 18:07:49 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-04-01 18:07:49 +0000 |
commit | 3db435180b35bcba69b11f85bf54a64c27cd58c4 (patch) | |
tree | ae467c0a14b240952339f056abfd96a9ceb5b7bf /etc | |
parent | 0581660cbed30807ccc7ef288c48d6671e6e6cb0 (diff) | |
download | pfsense-3db435180b35bcba69b11f85bf54a64c27cd58c4.zip pfsense-3db435180b35bcba69b11f85bf54a64c27cd58c4.tar.gz |
Correctly handle hour and minutes on the dot.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 41af90e..edbd190 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -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; } |