[Zope-dev] another DateTime bug : ingore this one
Steve Alexander
steve@cat-box.net
Fri, 24 Aug 2001 18:20:37 +0100
There are times when I wish SMTP had a "retract email just after you've
sent it" command.
Please ignore this one. I was being stupid.
Steve Alexander wrote:
> 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()
Of course, they are different strings, and so are different. Duh.
--
Steve Alexander
Software Engineer
Cat-Box limited