bugbug
bugbug copied to clipboard
Replace `datetime.utcnow()` with `datetime.now(timezone.utc)`
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