[alicebot-archcomm] Date output
Ernest Lergon
alicebot-archcomm@list.alicebot.org
Tue, 29 Jul 2003 15:07:33 +0200
Sandro Golinelli wrote:
>
> I could suggest to use a more natural format than those used in the links
> Ernest provided.
> I dont have example to show but i can say that the php and unix like date
> format string is confusing but more complete than the java ones.
>
Yes, therefore I tend towards the Java format too.
But maybe someone has a better proposal?
> Why not even something to manage date inputs too?
>
This is more complex than URL handling and has to be done pattern-side -
maybe by using a "special word" [1] like @DATE - but this is not trivial.
Ernest
[1]
http://www.alicebot.org/pipermail/alicebot-patterns/2002-July/000253.html
--
ProgramV - Alice on Perl - available at
http://www.virtualitas.net/perl/aiml/
VIRTUALITAS - Manufacturer of fine OOPPS - since 1996
*********************************************************************
* VIRTUALITAS Inc. * http://www.virtualitas.net *
* Ernest Lergon * mailto:Ernest@virtualitas.net *
*********************************************************************
PGP-Fingerprint 6E6F DC17 A886 342D D63F 7880 12F5 6BA9
PGP-Key http://www.virtualitas.net/Ernest_Lergon.asc
---------------------------------------------------------------------
SPAM ALERT http://www.virtualitas.net/spam.html
---------------------------------------------------------------------