datetime.utcnow() and utcfromtimestamp() in Python 3.12 are deprecated and have been replaced with datetime.datetime.now(datetime.timezone.utc).

1m read timeFrom simonwillison.net
Post cover image

Sort: