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

Use timezone aware objects for RepositoryData.last_fetched #3570

Merged
merged 4 commits into from
Apr 11, 2024

Conversation

emontnemery
Copy link
Contributor

Without this PR, RepositoryData.last_fetched is in some cases a naïve UTC time, and in some cases a naïve local time, which causes problem when comparing timstamps

@emontnemery
Copy link
Contributor Author

emontnemery commented Apr 8, 2024

Tests should be added after #3357 is merged

Relevant test changes in #3599

@emontnemery emontnemery marked this pull request as ready for review April 11, 2024 11:42
@ludeeus ludeeus merged commit 40e3127 into hacs:main Apr 11, 2024
27 checks passed
@hacs-bot hacs-bot bot added this to the next milestone Apr 11, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants