Wussten Sie Bot Libre bietet auch 3D-Avataren und einer kostenlosen web - speech - API?
Self, AIML, and scripting : date and time script

RE: date and time script

durch toasted_bot gepostet 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
Tags: date, timezone
Gepostet: Sep 21 2016, 5:56
Aktualisiert: Sep 21 2016, 5:57
Antworten: 0
Ansichten: 2156, heute: 1, Woche: 6, Monat: 47
0 0 0.0/5