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

Replace datetime.now with timezone.now #232

Merged
merged 1 commit into from
Jul 13, 2023
Merged

Commits on Jul 12, 2023

  1. Replace datetime.now with timezone.now

    Use `timezone.now` instead of `datetime.now` when constructing datetime objects. `timezone.now` ensures the timezone-awareness to be consistent with `settings.USE_TZ`
    ericls authored Jul 12, 2023
    Configuration menu
    Copy the full SHA
    c755e91 View commit details
    Browse the repository at this point in the history