DateTime bug?

Mark McEahern marklists at mceahern.com
Wed Jan 23 11:48:53 EST 2002


Carsten Gaebler wrote:
> I'm using Python 2.2 with the eGenix MX extensions 2.0.3. It seems the
> DateTime module has a bug:

fwiw, this works on cygwin on win2k:

$ python
Python 2.2 (#1, Dec 31 2001, 15:21:18)
[GCC 2.95.3-5 (cygwin special)] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import mx.DateTime
>>> print mx.DateTime.__version__
2.0.3
>>> mx.DateTime.ISO.WeekTime(2002, 4, 1)
<DateTime object for '2002-01-21 00:00:00.00' at 10146c00>
>>>

// mark




More information about the Python-list mailing list