You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
I've been using your polyfill and I think I've noticed an unexpected error that occurs when formatting a date time.
This error does not occur in the spec playground.
When run with this polyfill, it produces this error:
Uncaught TypeError: can't set option year when dateStyle is used
buildFormat fromAndWith.ts:329
toLocaleString intlFactory.ts:208
<anonymous> pen.js:2
fromAndWith.ts:329
The text was updated successfully, but these errors were encountered:
Hi there,
I've been using your polyfill and I think I've noticed an unexpected error that occurs when formatting a date time.
This error does not occur in the spec playground.
To reproduce
Run
Expected behaviour
In the official spec playground, the output is:
"11 May 2022"
Actual behaviour
When run with this polyfill, it produces this error:
The text was updated successfully, but these errors were encountered: