regebro / tzlocal

A Python module that tries to figure out what your local timezone is
MIT License
185 stars 58 forks source link

tzlocal 5.2 get_localzone missing attribute 'zone' #162

Open nchj opened 3 months ago

nchj commented 3 months ago
In [1]: import tzlocal

In [2]: tzlocal.get_localzone().zone
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[2], line 1
----> 1 tzlocal.get_localzone().zone

AttributeError: 'zoneinfo.ZoneInfo' object has no attribute 'zone'
(dev) ~ pip list --verbose | grep  tzlocal
tzlocal                           5.2