http://dev.zope.org/Wikis/DevSite/Proposals/BetterEuropeanDateTimeSupport --On Dienstag, 4. Februar 2003 22:40 +1000 James Davies <jamesd@mena.org.au> wrote:
I believe I have discovered a link between the DateTime module and and stress related heart failure. After many annoying timezone related bugs (AEST != US/Eastern, despite pythons evil attempts to thwart me), I am down to one last major problem.
I have a Plone/Zope based website, and need users to be able to enter dates in the format DD/MM/YYYY. DateTime has deciced to make my life interesting by deciding that it will sometimes use that format, and other times use MM/DD/YYYY.
Is there a way to force DateTime to always use DD/MM/YYYY no matter how much it's feindish algorithm decides different? (strftime isnt an option either- I need to get it into the DateTime object correctly in the first place)
_______________________________________________ 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 )
--------------------------------------------------------------------- - Andreas Jung http://www.andreas-jung.com - - EMail: andreas at andreas-jung.com - - "Life is too short to (re)write parsers" - ---------------------------------------------------------------------