WattTime / pyiso

Python client libraries for ISO and other power grid data sources.
http://pyiso.readthedocs.org/
Other
237 stars 110 forks source link

PEI client does not conform to POSIX-style timezone names #190

Closed r24mille closed 6 years ago

r24mille commented 6 years ago

This POSIX-style timezone name declared in pei.py is wrong:

    TZ_NAME = 'Etc/GMT-4'  # Times are always given in Atlantic Standard Time

They are inverse from my initial ISO-8601 expectations. See https://en.wikipedia.org/wiki/Tz_database#Area

Fix the timezone, but also investigate how I could have missed this in the unit tests, which are checking timestamps.