mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 01:08:12 +00:00
Update worldclock component config_flow labels to match pre-defined format output (#125707)
update labels for pre-defined options update labels for pre-defined options to match strftime's formatted output
This commit is contained in:
parent
3c1860cca2
commit
eb66a2f32f
@ -28,11 +28,11 @@ TIME_STR_OPTIONS = [
|
||||
SelectOptionDict(
|
||||
value=DEFAULT_TIME_STR_FORMAT, label=f"14:05 ({DEFAULT_TIME_STR_FORMAT})"
|
||||
),
|
||||
SelectOptionDict(value="%I:%M %p", label="11:05 am (%I:%M %p)"),
|
||||
SelectOptionDict(value="%I:%M %p", label="11:05 AM (%I:%M %p)"),
|
||||
SelectOptionDict(value="%Y-%m-%d %H:%M", label="2024-01-01 14:05 (%Y-%m-%d %H:%M)"),
|
||||
SelectOptionDict(
|
||||
value="%a, %b %d, %Y %I:%M %p",
|
||||
label="Monday, Jan 01, 2024 11:05 am (%a, %b %d, %Y %I:%M %p)",
|
||||
label="Mon, Jan 01, 2024 11:05 AM (%a, %b %d, %Y %I:%M %p)",
|
||||
),
|
||||
]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user