Add the Intl DateTimeFormat polyfill for space scripts without overwriting other Intl classes (#836)
parent
dc79ba0224
commit
5798a39289
|
@ -9,7 +9,7 @@ Date.prototype.toTemporalInstant = toTemporalInstant;
|
||||||
// @ts-ignore: Temporal polyfill
|
// @ts-ignore: Temporal polyfill
|
||||||
globalThis.Temporal = Temporal;
|
globalThis.Temporal = Temporal;
|
||||||
// @ts-ignore: Intl polyfill
|
// @ts-ignore: Intl polyfill
|
||||||
globalThis.Intl = Intl;
|
Object.apply(globalThis.Intl, Intl);
|
||||||
|
|
||||||
type FunctionDef = {
|
type FunctionDef = {
|
||||||
name: string;
|
name: string;
|
||||||
|
|
Loading…
Reference in New Issue