Skip to content

replace datetime.utcnow#24618

Merged
eviljeff merged 1 commit intomozilla:masterfrom
eviljeff:16130-replace-deprecated-datetime-utcnow
Mar 17, 2026
Merged

replace datetime.utcnow#24618
eviljeff merged 1 commit intomozilla:masterfrom
eviljeff:16130-replace-deprecated-datetime-utcnow

Conversation

@eviljeff
Copy link
Copy Markdown
Member

Fixes: mozilla/addons#16130

Description

as description

Context

Mat noted it in the django52 upgrade ticket

Testing

n/a unit tests are sufficient - we always run addons-server in UTC anyway.

Checklist

  • Add #ISSUENUM at the top of your PR to an existing open issue in the mozilla/addons repository.
  • Successfully verified the change locally.
  • The change is covered by automated tests, or otherwise indicated why doing so is unnecessary/impossible.
  • Add before and after screenshots (Only for changes that impact the UI).
  • Add or update relevant docs reflecting the changes made.

@eviljeff eviljeff marked this pull request as ready for review March 17, 2026 14:05
@eviljeff eviljeff force-pushed the 16130-replace-deprecated-datetime-utcnow branch from 5e199ea to 740d207 Compare March 17, 2026 14:19
@eviljeff eviljeff requested a review from willdurand March 17, 2026 14:44
@eviljeff eviljeff merged commit e0de941 into mozilla:master Mar 17, 2026
85 of 86 checks passed
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.

Fix " datetime.datetime.utcnow() is deprecated" warning

2 participants