minute is 0-59 not 1-60

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14382 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2009-07-27 17:47:02 +00:00
parent bdbffee1ff
commit 696f91ef14
2 changed files with 2 additions and 2 deletions

View 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:

View 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) {