Skip to content

Resolve warnings of datetime library#361

Open
emmanuel-ferdman wants to merge 1 commit intostanford-oval:mainfrom
emmanuel-ferdman:main
Open

Resolve warnings of datetime library#361
emmanuel-ferdman wants to merge 1 commit intostanford-oval:mainfrom
emmanuel-ferdman:main

Conversation

@emmanuel-ferdman
Copy link

This small PR resolves the datetime library warnings:

DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC).

Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
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