You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from pydantic_extra_types.timezone_name import TimeZoneName
results in
ImportError: No timezone provider found. Please install tzdata with "pip install tzdata"
By default, zoneinfo uses the system’s time zone data if available and only falls back to tzdata if it can't find it. I would like to request if we can just use the system time zone data to not force us to install tzdata unnecessarily.
The text was updated successfully, but these errors were encountered:
jelly
added a commit
to jelly/pydantic-extra-types
that referenced
this issue
Mar 31, 2025
The zoneinfo module by default uses the systems timezone information and
if not found falls back to tzdata. This change makes `get_timezone()`
behave the same allowing for tzdata to fully become an optional
dependency for Linux distributions which already include time zone data.
Closes: pydantic#291
from pydantic_extra_types.timezone_name import TimeZoneName
results in
ImportError: No timezone provider found. Please install tzdata with "pip install tzdata"
By default, zoneinfo uses the system’s time zone data if available and only falls back to tzdata if it can't find it. I would like to request if we can just use the system time zone data to not force us to install tzdata unnecessarily.
The text was updated successfully, but these errors were encountered: