Hi Dustin, i'm working a lot with dates, and untill now the best way i have found is <input .. name="date" type="text"> and then converting it when needed, <dtml-var "ZopeTime(date)" fmt="ISO">
From: Dustin Mitchell <dustin@ywlcs.org> To: zope@zope.org Subject: [Zope] Better Date processing? Date: Sun, 14 Sep 2003 12:54:57 -0500
I'm using Zope 2.6.1, and lots of the products I'm creating require that dates be entered in web forms and then stored as DateTime objects (since I need to compare them, etc.).
However, using the <input .. name="foo:date"> results in user-unintelligible error messages when the format is not correct, and the formats accepted are not very flexible.
Is there a better way? Is there a product that does a better job of handling date input/output?
Dustin
--
Dustin Mitchell dustin@ywlcs.org/djmitche@alumni.uchicago.edu http://people.cs.uchicago.edu/~dustin/ PGP Key: http://people.cs.uchicago.edu/~dustin/pubkey.txt
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
_________________________________________________________________ Consigue aquí las mejores y mas recientes ofertas de trabajo en América Latina y USA: www.yupimsn.com/empleos