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:
parent
bdbffee1ff
commit
696f91ef14
|
@ -29,7 +29,7 @@
|
||||||
week = 1-52
|
week = 1-52
|
||||||
wday = 1-7
|
wday = 1-7
|
||||||
hour = 0-23
|
hour = 0-23
|
||||||
minute = 1-60
|
minute = 0-59
|
||||||
minute-of-day = 1-1440
|
minute-of-day = 1-1440
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
|
@ -119,7 +119,7 @@ static int parse_exten(switch_core_session_t *session, switch_caller_profile_t *
|
||||||
}
|
}
|
||||||
|
|
||||||
if (time_match && xminute) {
|
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) {
|
if (time_match && xminday) {
|
||||||
|
|
Loading…
Reference in New Issue