Skip to content

Replace usage of datetime.utcnow() with datetime.now(UTC)

Duncan Macleod requested to merge duncanmmacleod/igwn-auth-utils:utcnow into main

This MR replaces all usage of datetime.datetime.utcnow() with datetime.datetime.now(datetime.UTC). The former is deprecated as of Python 3.12.

Merge request reports

Loading