From 4d4aa1f41086bfb3eb82147a461861eb787773f5 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Fri, 5 Dec 2025 09:51:28 -0600 Subject: [PATCH] remove deprecated strftime_fmt --- docs/docs/configuration/reference.md | 4 ---- frigate/config/ui.py | 3 --- web/public/locales/en/config/ui.json | 5 +---- 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/docs/docs/configuration/reference.md b/docs/docs/configuration/reference.md index a375086cb..6dde92fbe 100644 --- a/docs/docs/configuration/reference.md +++ b/docs/docs/configuration/reference.md @@ -1002,10 +1002,6 @@ ui: # full: 8:15:22 PM Mountain Standard Time # (default: shown below). time_style: medium - # Optional: Ability to manually override the date / time styling to use strftime format - # https://www.gnu.org/software/libc/manual/html_node/Formatting-Calendar-Time.html - # possible values are shown above (default: not set) - strftime_fmt: "%Y/%m/%d %H:%M" # Optional: Set the unit system to either "imperial" or "metric" (default: metric) # Used in the UI and in MQTT topics unit_system: metric diff --git a/frigate/config/ui.py b/frigate/config/ui.py index 2f66aeed3..8e0d4d77d 100644 --- a/frigate/config/ui.py +++ b/frigate/config/ui.py @@ -37,9 +37,6 @@ class UIConfig(FrigateBaseModel): time_style: DateTimeStyleEnum = Field( default=DateTimeStyleEnum.medium, title="Override UI timeStyle." ) - strftime_fmt: Optional[str] = Field( - default=None, title="Override date and time format using strftime syntax." - ) unit_system: UnitSystemEnum = Field( default=UnitSystemEnum.metric, title="The unit system to use for measurements." ) diff --git a/web/public/locales/en/config/ui.json b/web/public/locales/en/config/ui.json index fec0a9528..cdd91cb53 100644 --- a/web/public/locales/en/config/ui.json +++ b/web/public/locales/en/config/ui.json @@ -13,11 +13,8 @@ "time_style": { "label": "Override UI timeStyle." }, - "strftime_fmt": { - "label": "Override date and time format using strftime syntax." - }, "unit_system": { "label": "The unit system to use for measurements." } } -} \ No newline at end of file +}