Can´t get DateTimeFormat polyfill to work except by deleting the default built in package. #5108
Unanswered
programm-ingovals
asked this question in
Q&A
Replies: 1 comment
-
yes |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In next.js I have tried this in
instrumentation-client.ts
But this always failed because of
__addLocaleData was never present.
If I do this however it works
Something obvious I am doing wrong? I am just trying to add is-IS support for browsers like Chromium.
I´m not sure deleting the default DateTimeFormat object is good because then I have to add all locales I use manually.
Beta Was this translation helpful? Give feedback.
All reactions