Skip to content
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

fix: make audit log timestamps timezone-aware when needed #889

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

paulschreiber
Copy link
Member

Description

Make audit log timestamps timezone-aware when needed

See https://stackoverflow.com/questions/18622007/runtimewarning-datetimefield-received-a-naive-datetime

Related Issues

Fixes #657.

@paulschreiber paulschreiber requested a review from josebui October 11, 2023 19:41
@paulschreiber paulschreiber changed the title fix: fix: make audir log timestamps timezone-aware when needed Oct 11, 2023
@paulschreiber paulschreiber changed the title fix: make audir log timestamps timezone-aware when needed fix: make audit log timestamps timezone-aware when needed Oct 11, 2023
@paulschreiber paulschreiber merged commit b619a7d into main Oct 12, 2023
7 of 8 checks passed
@paulschreiber paulschreiber deleted the fix/date-time-warning branch October 12, 2023 15:32
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.

RuntimeWarning: DateTimeField Log.client_timestamp received a naive datetime
2 participants