diff --git a/src/libs/IntlPolyfill/index.android.ts b/src/libs/IntlPolyfill/index.android.ts index 7a21ae26bfa4..37647b9d2939 100644 --- a/src/libs/IntlPolyfill/index.android.ts +++ b/src/libs/IntlPolyfill/index.android.ts @@ -9,7 +9,7 @@ const intlPolyfill: IntlPolyfill = () => { // not yet implemented in hermes. // see support: https://hermesengine.dev/docs/intl/ - require('@formatjs/intl-locale/polyfill'); + require('@formatjs/intl-locale/polyfill-force'); polyfillListFormat(); }; diff --git a/src/libs/IntlPolyfill/index.ios.ts b/src/libs/IntlPolyfill/index.ios.ts index 569b666eb434..4701737c2b1c 100644 --- a/src/libs/IntlPolyfill/index.ios.ts +++ b/src/libs/IntlPolyfill/index.ios.ts @@ -11,11 +11,11 @@ const intlPolyfill: IntlPolyfill = () => { // not yet implemented in hermes. // see support: https://hermesengine.dev/docs/intl/ - require('@formatjs/intl-locale/polyfill'); + require('@formatjs/intl-locale/polyfill-force'); // Required to polyfill NumberFormat on iOS // see: https://github.com/facebook/hermes/issues/1172#issuecomment-1776156538 - require('@formatjs/intl-pluralrules/polyfill'); + require('@formatjs/intl-pluralrules/polyfill-force'); polyfillNumberFormat(); // Required to polyfill DateTimeFormat on iOS diff --git a/src/libs/IntlPolyfill/polyfillDateTimeFormat.ts b/src/libs/IntlPolyfill/polyfillDateTimeFormat.ts index 52d8b68778f8..7e5941832b56 100644 --- a/src/libs/IntlPolyfill/polyfillDateTimeFormat.ts +++ b/src/libs/IntlPolyfill/polyfillDateTimeFormat.ts @@ -13,7 +13,7 @@ export default function () { currentTimezone = timezoneBackwardMap[currentTimezone]; } - require('@formatjs/intl-datetimeformat/polyfill'); + require('@formatjs/intl-datetimeformat/polyfill-force'); require('@formatjs/intl-datetimeformat/locale-data/en'); require('@formatjs/intl-datetimeformat/locale-data/es'); require('@formatjs/intl-datetimeformat/add-all-tz');