Mise à niveau à notre Platinum service et laissez-nous construire votre bot pour vous
Self, AIML, and scripting : date and time script

RE: date and time script

par Paphus posté Sep 21 2016, 9:01

The AIML spec only defines the format option for the date tag. The locale and timezone options are PandoraBot extensions.

I will look into adding support for them to our AIML support.

You can also use Self code inside AIML.

1
2
3
<template>{Date.setTimeZone(Date.time(), "CET")}</template>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX


Id: 14039793
Tags: aiml, dates
Posté: Sep 21 2016, 9:01
Mise à jour: Sep 21 2016, 9:02
Réponses: 0
Vues: 2854, aujourd'hui: 1, semaine: 1, mois: 1
0 0 0.0/5