]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
minute is 0-59 not 1-60
authorBrian West <brian@freeswitch.org>
Mon, 27 Jul 2009 17:47:02 +0000 (17:47 +0000)
committerBrian West <brian@freeswitch.org>
Mon, 27 Jul 2009 17:47:02 +0000 (17:47 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14382 d0543943-73ff-0310-b7d9-9358b9ac24b2

conf/dialplan/default.xml
src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c

index 4bc1676023b4bfbd5217b96fbc29c96f5eabdf9a..dfd0fd0fe6e95b1b93734d4117035eff878098e7 100644 (file)
@@ -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:
index c5c3bb4950cc3ced818a83e8115111d779299c4e..64dbecaa091e6f1b9cfb24eda14f391f00d7b062 100644 (file)
@@ -119,7 +119,7 @@ static int parse_exten(switch_core_session_t *session, switch_caller_profile_t *
                }
 
                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) {