-
Notifications
You must be signed in to change notification settings - Fork 304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Date deprectation warnings #1111
Comments
OK - this challenge wouldn't leave me in peace so I've made an attempt to suggest how it could be managed - see #1116 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
internal_devices.TimeOfDay
offers a non-timezone-aware interface.datetime.utcnow()
which is used invalue
is deprecated from Python3.12 onwards with a rationale to improving timezone awareness and handling in the wider codebase.Doing anything other than filtering this is potentially dangerous. In my opinion, we should look to update
TimeOfDay
:timezone
keyword which defaults to local timezone)utc=True
)For now I have filtered out the Deprecation Warning with PR #1112
The text was updated successfully, but these errors were encountered: