提交 a3e71453 authored 作者: Brian West's avatar Brian West

%u does not exist on strftime on windows but %w accomplishes the same thing

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9981 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 574d623c
......@@ -38,7 +38,7 @@
<!-- Example of doing things based on time of day. -->
<extension name="tod_example" continue="true">
<!-- man strftime - M-F, 9AM to 6PM -->
<condition field="${strftime(%u)}" expression="^([1-5])$"/>
<condition field="${strftime(%w)}" expression="^([1-5])$"/>
<condition field="${strftime(%H%M)}" expression="^((09|1[0-7])[0-5][0-9]|1800)$">
<action application="set" data="open=true"/>
</condition>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论