Revision
14382
Author
brian
Date
2009-07-27 12:47:02 -0500 (Mon, 27 Jul 2009)

Log Message

 minute is 0-59 not 1-60 

Modified Paths

Diff

Modified: freeswitch/trunk/conf/dialplan/default.xml (14381 => 14382)


--- freeswitch/trunk/conf/dialplan/default.xml	2009-07-27 17:25:59 UTC (rev 14381)
+++ freeswitch/trunk/conf/dialplan/default.xml	2009-07-27 17:47:02 UTC (rev 14382)
@@ -29,7 +29,7 @@
 	 week = 1-52
 	 wday = 1-7
 	 hour = 0-23
-	 minute = 1-60
+	 minute = 0-59
 	 minute-of-day = 1-1440
 	 
 	 Example:

Modified: freeswitch/trunk/src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c (14381 => 14382)


--- freeswitch/trunk/src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c	2009-07-27 17:25:59 UTC (rev 14381)
+++ freeswitch/trunk/src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c	2009-07-27 17:47:02 UTC (rev 14382)
@@ -119,7 +119,7 @@
 		}
 
 		if (time_match && xminute) {
-			time_match = switch_number_cmp(xminute, tm.tm_min + 1);
+			time_match = switch_number_cmp(xminute, tm.tm_min);
 		}
 
 		if (time_match && xminday) {