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

Python 3.12: datetime changes #59

Open
da4089 opened this issue Oct 18, 2023 · 0 comments
Open

Python 3.12: datetime changes #59

da4089 opened this issue Oct 18, 2023 · 0 comments
Assignees

Comments

@da4089
Copy link
Owner

da4089 commented Oct 18, 2023

I think we use this -- need to check (from What's New in Python 3.12):

datetime’s utcnow() and utcfromtimestamp() are deprecated and will be removed in a future version. Instead, use timezone-aware objects to represent datetimes in UTC: respectively, call now() and fromtimestamp() with the tz parameter set to datetime.UTC. (Contributed by Paul Ganssle in gh-103857.

@da4089 da4089 self-assigned this Oct 18, 2023
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

No branches or pull requests

1 participant