Message6137

Author zyasoft
Recipients proteusguy, zyasoft
Date 2010-10-04.16:54:44
SpamBayes Score 0.0022434287
Marked as misclassified No
Message-id <1286211285.45.0.167279109056.issue1662@psf.upfronthosting.co.za>
In-reply-to
Content
The only workaround I have is to omit the Z in the format specifier, since any extra trailing characters are ignored anyway.

So this works:

>>> datetime.datetime.strptime("2010-07-05T09:20:24Z","%Y-%m-%dT%H:%M:%S") 
datetime.datetime(2010, 7, 5, 9, 20, 24)
History
Date User Action Args
2010-10-04 16:54:45zyasoftsetmessageid: <1286211285.45.0.167279109056.issue1662@psf.upfronthosting.co.za>
2010-10-04 16:54:45zyasoftsetrecipients: + zyasoft, proteusguy
2010-10-04 16:54:45zyasoftlinkissue1662 messages
2010-10-04 16:54:44zyasoftcreate