From 7d466f370b21c25c3e49b546ccb6b01a77630cb5 Mon Sep 17 00:00:00 2001 From: Andrew Reiter Date: Mon, 31 Jul 2023 10:04:44 -0400 Subject: [PATCH] Add AM/PM to exported video filename --- frigate/record/export.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/record/export.py b/frigate/record/export.py index 077f24638..ac7c1663d 100644 --- a/frigate/record/export.py +++ b/frigate/record/export.py @@ -42,7 +42,7 @@ class RecordingExporter(threading.Thread): def get_datetime_from_timestamp(self, timestamp: int) -> str: """Convenience fun to get a simple date time from timestamp.""" - return datetime.datetime.fromtimestamp(timestamp).strftime("%Y_%m_%d_%I:%M") + return datetime.datetime.fromtimestamp(timestamp).strftime("%Y_%m_%d_%I:%M%p") def run(self) -> None: logger.debug(