mirror of
https://github.com/home-assistant/frontend.git
synced 2025-10-24 11:09:48 +00:00
Use explicit duration format for state formatting (#23017)
This commit is contained in:
@@ -147,6 +147,7 @@ const polyfillMap = {
|
||||
...Object.fromEntries(
|
||||
[
|
||||
"DateTimeFormat",
|
||||
"DurationFormat",
|
||||
"DisplayNames",
|
||||
"ListFormat",
|
||||
"NumberFormat",
|
||||
|
||||
@@ -9,6 +9,7 @@ const outDir = join(paths.build_dir, "locale-data");
|
||||
|
||||
const INTL_POLYFILLS = {
|
||||
"intl-datetimeformat": "DateTimeFormat",
|
||||
"intl-durationFormat": "DurationFormat",
|
||||
"intl-displaynames": "DisplayNames",
|
||||
"intl-listformat": "ListFormat",
|
||||
"intl-numberformat": "NumberFormat",
|
||||
|
||||
Reference in New Issue
Block a user