24 Aug
2001
24 Aug
'01
5:17 p.m.
Again, I'm in a GMT+1 timezone. This time, I'm surprised that the GMT+0 timezone is considered different than the GMT timezone. I'd have thought they would be just the same.
from DateTime.DateTime import DateTime a=DateTime('2000/08/20').pCommonZ() b=DateTime('2000-08-20').pCommonZ() c=DateTime('2000/08/20 GMT').pCommonZ() d=DateTime('2000/08/20 GMT+0').pCommonZ()
a 'Aug. 20, 2000 12:00 am GMT+1' b 'Aug. 20, 2000 12:00 am GMT+0' c 'Aug. 20, 2000 12:00 am GMT' d 'Aug. 20, 2000 12:00 am GMT+0'
b==c 0 b==d 1
Here, I'd expect b==c to evaluate as true. Bug or feature? -- Steve Alexander Software Engineer Cat-Box limited