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

Update deprecated method in expire_accounts.py #10173

Merged
merged 4 commits into from
Dec 22, 2024

Conversation

jimchamp
Copy link
Collaborator

I noticed some deprecation warnings for datetime.datetime.utcnow() while looking through our logs today. This PR updates the deprecated method, and makes the expiry_date object timezone-aware.

Technical

Testing

Screenshot

Stakeholders

@jimchamp jimchamp changed the title Update deprecated method Update deprecated method in expire_accounts.py Dec 20, 2024
@mekarpeles mekarpeles merged commit 43a3662 into master Dec 22, 2024
7 checks passed
@mekarpeles mekarpeles deleted the update-deprecate-method branch December 22, 2024 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants