下载的开放源 的机器人自由社会版 和安装机器人自由于你自己的服务器
Self, AIML, and scripting : date and time script

RE: date and time script

通过 toasted_bot 发布 Sep 21 2016, 5:56

Is it possible that the timezone is broken/stuck to EDT when parsing AIML to grab the date?

Testing the following code (uploaded as script to keep AIML functions):

<category>
    <pattern># time #</pattern>
    <template>
        <date locale="de_CH" timezone="-1" format="%c" />
    </template>
</category>


It returns:

Wed Sep 21 05:48:29 EDT 2016 

.. so timezone="" doesn't seem to be having any effect.


Id: 14039492
标签: date, timezone
发布: Sep 21 2016, 5:56
更新: Sep 21 2016, 5:57
答复: 0
的风景: 1954, 今天: 4, 周: 7, 一个月: 16
0 0 0.0/5