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

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

Open iamdhakrey opened this issue 1 year ago • 0 comments

Python 3.12 deprecates datetime.utcnow() in favor of using timezone-aware objects like datetime.now(UTC). This commit updates the codebase accordingly to align with the latest recommendations.

https://docs.python.org/3/library/datetime.html#datetime.datetime.utcnow

iamdhakrey avatar Jun 24 '24 09:06 iamdhakrey