mirror of
https://github.com/home-assistant/frontend.git
synced 2026-07-01 19:45:52 +01:00
ce5640d13a
* Add UTC time zone to the time zone picker The time zone list is built from google-timezones-json, which is missing the bare "UTC" and "Etc/UTC" zones. Both are valid IANA identifiers and a common server default, so an instance configured to UTC showed up as an unknown time zone in the settings. Add the two zones to the picker options, guarded against duplicates in case the source list starts including them. * Accept UTC time zone in the clock card config The clock card validated its time_zone against the raw timezone list, so it rejected UTC even though the picker now offers it. Validate against the shared timezone options instead, keeping a single source. * Correct the invalid Asia/Sakhalin time zone id google-timezones-json ships Asia/Yuzhno-Sakhalinsk, which is not a valid IANA identifier, so selecting it failed backend validation. Map it to the correct Asia/Sakhalin id.