24 Aug
2001
24 Aug
'01
5:12 p.m.
I get different times from a string, depending whether I use '-' or '/' as a date delimiter.
from DateTime.DateTime import DateTime DateTime('2001-08-20').pCommonZ() 'Aug. 20, 2001 12:00 am GMT+0' DateTime('2001/08/20').pCommonZ() 'Aug. 20, 2001 12:00 am GMT+1'
I find the difference a tad surprising. Is this a bug or a feature? If it's a bug, I'll work on a fix. I'm guessing this is a feature; perhaps using the '-' delimiter suggests I'm trying to use ISO formatting. I'm running this in a GMT+1 timezone btw. Zope latest from CVS, Python 2.1. -- Steve Alexander Software Engineer Cat-Box limited
9014
Age (days ago)
9014
Last active (days ago)
0 comments
1 participants
participants (1)
-
Steve Alexander