Skip to content

fix: replace deprecated datetime.utcnow() with datetime.now(timezone.utc)#2

Open
fazalpsinfo-cmyk wants to merge 1 commit into
testflows:mainfrom
fazalpsinfo-cmyk:fix/datetime-utcnow
Open

fix: replace deprecated datetime.utcnow() with datetime.now(timezone.utc)#2
fazalpsinfo-cmyk wants to merge 1 commit into
testflows:mainfrom
fazalpsinfo-cmyk:fix/datetime-utcnow

Conversation

@fazalpsinfo-cmyk

Copy link
Copy Markdown

datetime.utcnow() is deprecated in Python 3.12+. Replaced with datetime.now(timezone.utc) which is timezone-aware.

If you find this useful, consider buying me a coffee!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant