summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-04-01 18:07:49 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-04-01 18:07:49 +0000
commit3db435180b35bcba69b11f85bf54a64c27cd58c4 (patch)
treeae467c0a14b240952339f056abfd96a9ceb5b7bf /etc
parent0581660cbed30807ccc7ef288c48d6671e6e6cb0 (diff)
downloadpfsense-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.inc2
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;
}
OpenPOWER on IntegriCloud