-
Notifications
You must be signed in to change notification settings - Fork 94
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
Do not use datetime.datetime.utcnow()
#2183
Comments
i love to work on this issue, can you please assign me ? |
Sure. |
Can I work on this issue? @matrss |
4 tasks
There are more instances of
|
We have to be carefully not to create a dependency to mscolab in the msui code parts. |
Hey @ReimarBauer , Can I work on the remaining issue and could you please assign it to me? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are multiple locations where this function is used. It is documented as being potentially dangerous and should be replaced with
datetime.datetime.now(tz=datetime.timezone.utc)
: https://docs.python.org/3/library/datetime.html#datetime.datetime.utcnowThis came up in #2177 (comment).
Related to #2122.
The text was updated successfully, but these errors were encountered: