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

add utcnow() helper function to avoid datetime.utcnow() #7717

Merged
merged 1 commit into from
Jul 6, 2023
Merged

add utcnow() helper function to avoid datetime.utcnow() #7717

merged 1 commit into from
Jul 6, 2023

Commits on Jul 6, 2023

  1. add utcnow() helper function to avoid datetime.utcnow()

    `datetime.utcnow()` is deprecated since Python 3.12. This causes additional lines of
    output and thus breaks the test suite. I was not sure if all borg internals are
    ready to deal with timezone-aware datetime instances so tried to keep the changes
    minimal.
    FelixSchwarz committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    98f547f View commit details
    Browse the repository at this point in the history