I am using AIML 2.0 on Python 3.8, Windows 10 and I am trying to format the date using the date tag:
<aiml version="2.0" encoding="UTF-8">
<category>
<pattern>WHAT IS THE DATE</pattern>
<template>
It is <date/>
</template>
</category>
</aiml>
This will give It is Fri Mar 19 18:01:14 2021
I tried formatting using format and jformat as shown in several examples but it did not work:
<category>
<pattern>WHAT IS THE DATE</pattern>
<template>
It is <date format="%B %d, %Y" jformat="MMMMMMMMM dd, yyyy"/>
</template>
</category>
The output: It is Fri Mar 19 18:01:14 2021