Tiesitkö, että Bot Libre tarjoaa myös ilmaisen isännöityjen numeroiden seurannan omalle verkkosivustollesi tai mobiilisovellukseen?
Bot Libre Forum : chatbot is not saying the correct time

RE: chatbot is not saying the correct time

tekijä admin Lähetetty Jul 2 2020, 10:53

The issue seems to be with the format="%I".
For some reason we were adding 1 to the hour. We will update this.
If you use Self, jformat or format="%X" it will have the correct hour.

<aiml>
<category>
<pattern>time</pattern>
<template><date timezone="+4" format="%I:%M%p"/> -- <date timezone="+4" format="%X"/> -- <self>Date.setTimeZone(Date.time(), "GMT+4")</self></template>
</category>
</aiml>


Id: 34293020
Lähetetty: Jul 2 2020, 10:53
Vastaukset: 0
Näkymät: 1651, Tänään: 1, Viikolla: 1, Kuukausi: 13
0 0 0.0/5