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

Handle recording checks in utc #8379

Merged
merged 2 commits into from Oct 31, 2023
Merged

Handle recording checks in utc #8379

merged 2 commits into from Oct 31, 2023

Conversation

NickM-27
Copy link
Sponsor Collaborator

@NickM-27 NickM-27 commented Oct 29, 2023

It seems some of the checks were done using datetime and local timezone which caused bad checks when the values were compared.In general I also think comparing datetime is safer than comparing timestamps.

In my testing this works as expected, fixes #8376

@netlify
Copy link

netlify bot commented Oct 29, 2023

Deploy Preview for frigate-docs canceled.

Name Link
🔨 Latest commit 47cc355
🔍 Latest deploy log https://app.netlify.com/sites/frigate-docs/deploys/653ea53148d60200086d71e3

@NickM-27 NickM-27 marked this pull request as draft October 29, 2023 23:58
@NickM-27 NickM-27 marked this pull request as ready for review October 30, 2023 00:11
@NickM-27
Copy link
Sponsor Collaborator Author

wanted to note I was messing with my cameras today and left them off for more than 2 minutes, these checks triggered successfully and recovered successfully

@blakeblackshear blakeblackshear merged commit e89dafa into dev Oct 31, 2023
10 checks passed
@blakeblackshear blakeblackshear deleted the record-timezone branch October 31, 2023 00:26
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.

[Support]: 1 hour lost recording and high memory and CPU usage when Daylight Saving Time (DST) occurred.
2 participants