Glossary: Python Beyond the Basics
ZoneInfo
Also written: zoneinfo, time zone, astimezone, tzdata
A class from the `zoneinfo` module that attaches a time zone, such as "America/Los_Angeles", to a datetime. Windows needs `pip install tzdata` first.
Glossary: Python Beyond the Basics
Also written: zoneinfo, time zone, astimezone, tzdata
A class from the `zoneinfo` module that attaches a time zone, such as "America/Los_Angeles", to a datetime. Windows needs `pip install tzdata` first.