[Python-Dev] proposal: add basic time type tothestandardlibrary
Mon, 11 Feb 2002 19:08:32 +0100
> I have no desire to compete with the mxDateTime implementation. I want to
> look at some of the solutions out there and take the best from everyone and
> provide a module that will suit 95-100% of the people. For several reasons,
> which I tried to point out in my mails, mxDateTime or Zope's Datetime in
> its current states is not suitable.
That's a strange conclusion since both of these modules have been
around for quite some time (mxDateTime was started in Dec. 1997)
and obviously *are* quite suitable for a large share of Python's
BTW, mxDateTime can do quite a bit in terms of i18n:
>>> from mx.DateTime import *
>>> DateTimeFrom('11. Februar 2002')
<DateTime object for '2002-02-11 00:00:00.00' at 816cc48>
>>> DateTimeFrom('February, 11 2002')
<DateTime object for '2002-02-11 00:00:00.00' at 81307c8>
>>> from mx.DateTime import Locale
'lundi 11 f\xe9vrier 2002 19:07:12'
'lunes 11 febrero 2002 19:07:19'
'Montag 11 Februar 2002 19:07:25'
(hmm, I ought to insert some extra interpunctation...)
CEO eGenix.com Software GmbH
Company & Consulting: http://www.egenix.com/
Python Software: http://www.egenix.com/files/python/