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

Fix incorrect datetime.UTC access #214

Merged
merged 1 commit into from
Dec 18, 2024
Merged

Conversation

user202729
Copy link
Contributor

@user202729 user202729 commented Dec 9, 2024

The old code is incorrect, datetime.UTC is an attribute of the module, not the type.

p/s looks like this is new in Python 3.11? do we really want to drop support for ≤ Python 3.10? https://docs.python.org/3/library/datetime.html#datetime.UTC

@dimpase dimpase merged commit ebd802a into sagemath:main Dec 18, 2024
23 of 24 checks passed
@dimpase
Copy link
Member

dimpase commented Dec 18, 2024

good catch, thanks

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.

2 participants