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

refactor: update all_day detection logic #2601

Merged

Commits on Sep 20, 2024

  1. refactor: update all_day detection logic

    Instead of using a particular resolution on an object, which differs
    between `datetime.date` and `datetime.datetime` objects, operate on
    parent class of `datetime` and convert all `dt` to timezone-aware
    `datetime` values.
    
    This is also in accordance to the model field being a `DateTimeField`,
    so we should always be passing the correctly-created object, instead of
    a `datetime.date()`, raising `received a naive datetime` warnings.
    
    Removes unused constants.
    
    Signed-off-by: Mike Fiedler <[email protected]>
    miketheman committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    b12e856 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. Configuration menu
    Copy the full SHA
    ef2fd43 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d73a3b3 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. Configuration menu
    Copy the full SHA
    60d01d8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1f559d3 View commit details
    Browse the repository at this point in the history