Skip to content

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

Duncan Macleod requested to merge utcnow into main

This PR 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