bugbug icon indicating copy to clipboard operation
bugbug copied to clipboard

Replace `datetime.utcnow()` with `datetime.now(timezone.utc)`

Open suhaibmujahid opened this issue 5 months ago • 0 comments

datetime.utcnow() is deprecated in Python 3.12+. Replace with datetime.now(timezone.utc) which is timezone-aware and follows current best practices.

Originally posted by @Copilot in https://github.com/mozilla/bugbug/pull/5366#discussion_r2449773996

suhaibmujahid avatar Oct 21 '25 21:10 suhaibmujahid