diff --git a/packages/app/services/i18n/intlPolyfill.ts b/packages/app/services/i18n/intlPolyfill.ts index 4537c16..718ea41 100644 --- a/packages/app/services/i18n/intlPolyfill.ts +++ b/packages/app/services/i18n/intlPolyfill.ts @@ -55,6 +55,11 @@ async function polyfillIntl(locale: string): Promise { 'intl' ); + // resolve issue with RegExp errors + // @see https://github.com/mattlewis92/angular-calendar/issues/274 + // @see https://github.com/mattlewis92/angular-calendar/issues/274 + Intl.__disableRegExpRestore(); + window.Intl = Intl; // MUST be loaded in series with the main polyfill