python-libfaketime icon indicating copy to clipboard operation
python-libfaketime copied to clipboard

`datetime.datetime.utcnow` is deprecated

Open azmeuk opened this issue 1 year ago • 0 comments

Running the tests with recent python versions raise a lot of warning of the kind of DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC)

azmeuk avatar Apr 30 '24 15:04 azmeuk