Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move from pytz to zoneinfo #444

Merged
merged 1 commit into from
Feb 14, 2023
Merged

Move from pytz to zoneinfo #444

merged 1 commit into from
Feb 14, 2023

Conversation

jelly
Copy link
Member

@jelly jelly commented Feb 12, 2023

Since Python 3.9 zoneinfo is available and datetime also has a timezone module attribute which can be used. Also refactor the utcnow/fromutctimestamp usage to according to this excellent blogpost.

https://blog.ganssle.io/articles/2019/11/utcnow.html

Since Python 3.9 zoneinfo is available and datetime also has a timezone
module attribute which can be used. Also refactor the
utcnow/fromutctimestamp usage to according to this excellent blogpost.

https://blog.ganssle.io/articles/2019/11/utcnow.html
@jelly jelly merged commit 54c331c into archlinux:master Feb 14, 2023
@jelly jelly deleted the drop-pytz-usage branch February 14, 2023 19:21
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