newvem / pytz

MIT License
58 stars 12 forks source link

astimezone is returning the inverse of the timezone offset #11

Open notSoWiseOldMan opened 5 years ago

notSoWiseOldMan commented 5 years ago

As the titles says. For example using astimezone(pytz.timezone('Etc/GMT+5') returns a datetime with a -05:00 offset.

Not sure if this is a problem with astimezone or the Etc/ timezones in pytz