From da2e086e7c26338e05fe980edae35a3a2b14e44e Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Sun, 26 Feb 2023 07:23:22 -0700 Subject: [PATCH] Fix mismatched names --- docs/docs/configuration/index.md | 2 +- frigate/config.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/docs/configuration/index.md b/docs/docs/configuration/index.md index 689f46d0c..976312250 100644 --- a/docs/docs/configuration/index.md +++ b/docs/docs/configuration/index.md @@ -487,7 +487,7 @@ ui: # Optional: Use an experimental recordings / camera view UI (default: shown below) experimental_ui: False # Optional: Set the time format used. - # Options are browser, hours12, or hours24 (default: shown below) + # Options are browser, 12hour, or 24hour (default: shown below) time_format: browser # Optional: Set the date style for a specified length. # Options are: full, long, medium, sort diff --git a/frigate/config.py b/frigate/config.py index a4bcd1260..9a96b642a 100644 --- a/frigate/config.py +++ b/frigate/config.py @@ -68,8 +68,8 @@ class LiveModeEnum(str, Enum): class TimeFormatEnum(str, Enum): browser = "browser" - hours12 = "hours12" - hours24 = "hours24" + hours12 = "12hour" + hours24 = "24hour" class DateTimeStyleEnum(str, Enum):