mercredi 29 janvier 2014

pytz question: GMT vs. UTC topic




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





Aucun commentaire:

Enregistrer un commentaire