diff --git a/frigate/record.py b/frigate/record.py index 53a75a485..ff4a4fc29 100644 --- a/frigate/record.py +++ b/frigate/record.py @@ -278,8 +278,8 @@ class RecordingMaintainer(threading.Thread): directory = os.path.join( RECORD_DIR, - start_time.replace(tzinfo=datetime.timezone.utc) - .astimezone(tz=None) + start_time. + .astimezone(tz=datetime.timezone.utc) .strftime("%Y-%m-%d/%H"), camera, )