You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Getting a datetime/time zone support error.
To Reproduce
Steps to reproduce the behavior:
Load any page at all.
See error in terminal. (No actual admin announcement active needed, the error pops up whatever there is one or not.)
Expected behavior
No error?
Log RuntimeWarning: DateTimeField AdminAnnouncement.expires_on received a naive datetime (2024-05-22 16:47:56.154048) while time zone support is active.
Desktop (please complete the following information):
OS: Ubuntu 20.04.5 LTS
(archive running locally)
The text was updated successfully, but these errors were encountered:
@Sylphystia Thank you for reporting this! The error itself is harmless - it's just saying we're parsing a datetime without specifying timezone - so probably can be ignored for now, but feel free to update this issue if you see wonky behavior. I can think of places where the behavior would get weird (when admin announcements expire, edge cases with UTC vs local time when manually modifying chive create/update dates) so this is medium priority for a fix.
Describe the bug
Getting a datetime/time zone support error.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No error?
Log
RuntimeWarning: DateTimeField AdminAnnouncement.expires_on received a naive datetime (2024-05-22 16:47:56.154048) while time zone support is active.
Desktop (please complete the following information):
(archive running locally)
The text was updated successfully, but these errors were encountered: