Skip to content

Replace pytz with zoneinfo - #717

Open
davetapley wants to merge 1 commit into
duckdb:mainfrom
JEFuller:main
Open

davetapley wants to merge 1 commit into
duckdb:mainfrom
JEFuller:main

Conversation

@davetapley

Copy link
Copy Markdown

Surprisingly few changes.

Only caveat is that if the system doesn't have IANA timezone data, fetching a TIMESTAMP WITH TIME ZONE as a datetime could raise ZoneInfoNotFoundError.

Fix would be:

  • Windows: install tzdata
  • Linux/macOS: ensure the system’s timezone database is installed and available.

#406

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant