提交 696f91ef authored 作者: Brian West's avatar Brian West

minute is 0-59 not 1-60

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14382 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 bdbffee1
...@@ -29,7 +29,7 @@ ...@@ -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 * ...@@ -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) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论