According ato the pytz doc (http://pytz.sourceforge.net/):
"âUTCâ is Universal Time, also known as Greenwich Mean Timeor GMT in
the United Kingdom."
If they are equal, why don't timezone objects created from those two
strings compare equal?
>>> pytz.timezone("UTC") == pytz.timezone("GMT")
False
(I'm revealing my complete ignorance of timezone manipulation by
asking this question.)
Thx,
Skip
"âUTCâ is Universal Time, also known as Greenwich Mean Timeor GMT in
the United Kingdom."
If they are equal, why don't timezone objects created from those two
strings compare equal?
>>> pytz.timezone("UTC") == pytz.timezone("GMT")
False
(I'm revealing my complete ignorance of timezone manipulation by
asking this question.)
Thx,
Skip
Aucun commentaire:
Enregistrer un commentaire