1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-04-17 23:54:28 +01:00

Refactor Intl polyfills and remove from ES5 entrypoints (#16349)

This commit is contained in:
Steve Repsher
2023-05-04 09:49:56 -04:00
committed by GitHub
parent f185e886c3
commit d2321b535c
12 changed files with 148 additions and 152 deletions

View File

@@ -1,10 +1,6 @@
import memoizeOne from "memoize-one";
import { FrontendLocaleData } from "../../data/translation";
import { polyfillsLoaded } from "../translations/localize";
if (__BUILD__ === "latest" && polyfillsLoaded) {
await polyfillsLoaded;
}
import "../../resources/intl-polyfill";
// Tuesday, August 10
export const formatDateWeekdayDay = (