mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-12 14:15:22 +03:00
Fix typo in record/export.py
A recent change added a call to `datetime.datetime.now().astimezone(datetime.timezone.dst)`. The `datetime.timezone.dst` argument should be `datetime.timezone.utc`. Fixes #11785
This commit is contained in:
parent
d2787d4308
commit
50aea99519
@ -74,7 +74,7 @@ class RecordingExporter(threading.Thread):
|
||||
|
||||
if datetime.datetime.fromtimestamp(
|
||||
self.start_time
|
||||
) < datetime.datetime.now().astimezone(datetime.timezone.dst).replace(
|
||||
) < datetime.datetime.now().astimezone(datetime.timezone.utc).replace(
|
||||
minute=0, second=0, microsecond=0
|
||||
):
|
||||
# has preview mp4
|
||||
|
||||
Loading…
Reference in New Issue
Block a user