Skip to content

Conversation

emmanuel-ferdman
Copy link

Summary

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>
Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Making one change that pre-commit wanted.

@dhalbert dhalbert merged commit 5aa8404 into adafruit:main May 15, 2025
616 checks passed
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.

2 participants