mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 09:45:22 +03:00
Add timestamp ui configuration.
This commit is contained in:
parent
d999575832
commit
3d2f4c0753
@ -59,8 +59,14 @@ class FrigateBaseModel(BaseModel):
|
||||
extra = Extra.forbid
|
||||
|
||||
|
||||
class UiTimestampConfig(FrigateBaseModel):
|
||||
"""Configuration for the UI timestamps."""
|
||||
hour_12: bool = Field(default=True, title="Use 12 hour format in UI.")
|
||||
|
||||
|
||||
class UIConfig(FrigateBaseModel):
|
||||
use_experimental: bool = Field(default=False, title="Experimental UI")
|
||||
timestamp: UiTimestampConfig = Field(default_factory=UiTimestampConfig, title="UI timestamp configuration.")
|
||||
|
||||
|
||||
class MqttConfig(FrigateBaseModel):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user