I have found an annoying 'feature' of the new mx.DateTime module and wonder if this is from something I am doing incorrectly. Any comments appreciated.
root-Deb-Woody:~# python Python 2.1.1 (#1, Nov 11 2001, 18:19:24) [GCC 2.95.4 20011006 (Debian prerelease)] on linux2 Type "copyright", "credits" or "license" for more information. >>> from mxDateTime import * >>> a = 'Thu Dec 20 07:10:30 EST 2001 PPP-UP' >>> b = 'Thu Dec 20 07:12:21 EST 2001 PPP-OFF' >>> on = DateTimeFrom(a) parsed time: '07:10:30 EST' giving: 7 10 30.0 -05:00:00.00 ('Thu', 'Dec', '20', '2001', None) parsed date: 'Thu Dec 20 2001' giving: 2001 12 20 >>> off = on = DateTimeFrom(b) parsed time: '07:12:21 EST' giving: 7 12 21.0 -05:00:00.00 ('Thu', 'Dec', '20', '2001', None) parsed date: 'Thu Dec 20 2001' giving: 2001 12 20 In the Old DateTime module, which just got replaced, those parsed time and date lines were not there. Is is a new feature of mx.DateTime that we have to live with? I have been unable to find any reference to this in the Python Docs. As this is messing up a few of my old python 1.5 programs I would appreciate any pointers to a fix. I get the same results in python 2.1 and 2.2 so it seems that it is just that module. TIA Wayne