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: Using one single function call for utcnow(). #4305

Closed
wants to merge 1 commit into from

Conversation

shuchu
Copy link
Collaborator

@shuchu shuchu commented Jun 22, 2024

What this PR does / why we need it:

Use one single function _utc_now() to represent the datetime.utcnow().

This is a partial fix for deprecating the "datetime.utcnow()".

Which issue(s) this PR fixes:

Parital Fixes #4240

Signed-off-by: Shuchu Han <shuchu.han@gmail.com>
@shuchu shuchu requested a review from sudohainguyen as a code owner June 22, 2024 20:19
@shuchu
Copy link
Collaborator Author

shuchu commented Jun 22, 2024

Please do not close the issue #4240 .

The new PR will modify the behavior of _utc_now() to deprecate the datetime.uctnow().

@shuchu shuchu closed this Jun 22, 2024
@shuchu shuchu deleted the bugfix/issue-4240 branch June 22, 2024 20:36
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.

Retire/update the datetime.utcnow() function
1 participant