arrow-py / arrow

🏹 Better dates & times for Python
https://arrow.readthedocs.io
Apache License 2.0
8.71k stars 673 forks source link

Support ZoneInfo timezones #866

Open jadchaar opened 4 years ago

jadchaar commented 4 years ago

Feature Request

It would be nice to allow for ZoneInfo objects to be passed into arrow as an alternative to dateutil timezones.

A backports.zoneinfo package is available that supports Python 3.6+ https://pypi.org/project/backports.zoneinfo/. We'd also need to bundle in the tzdata package to enable timezones on Windows with ZoneInfo: https://pypi.org/project/tzdata/.

systemcatch commented 4 years ago

Linked to #825