Skip to content

Update .utcnow() deprecated method in datetime - #1

Open
milas-melt wants to merge 1 commit into
ElliotP123:masterfrom
milas-melt:update-datetime-deprecated-code
Open

Update .utcnow() deprecated method in datetime#1
milas-melt wants to merge 1 commit into
ElliotP123:masterfrom
milas-melt:update-datetime-deprecated-code

Conversation

@milas-melt

Copy link
Copy Markdown

The method .utcnow() from datetime is now deprecated. To reproduce the same behavior, use datetime.now(datetime.timezone.utc) and import timezone from datetime. This commit applies this change.

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