Python: Weird Behavior With Signs Of Pytz Timezones
I'm in Argentina, my time is GMT-3 (http://wwp.greenwichmeantime.com/time-zone/south-america/argentina/) I was playing with Pytz and noticed something weird, take a look: from pytz
Solution 1:
It is not a bug, it is a feature (Wikipedia: Tz_database):
The special area of Etc is used for some administrative zones, particularly for "Etc/UTC" which represents Coordinated Universal Time. In order to conform with the POSIX style, those zone names beginning with "Etc/GMT" have their sign reversed from what most people expect. In this style, zones west of GMT have a positive sign and those east have a negative sign in their name (e.g "Etc/GMT-14" is 14 hours ahead/east of GMT.)
Post a Comment for "Python: Weird Behavior With Signs Of Pytz Timezones"