polyfill-library: Intl : locale data nu must be an object
With the latest update to Intl dependencies we are seeing some errors :
locale data nu must be an object
We haven’t been able to pinpoint the exact change in the formatjs that introduced the issue.
Our test code :
const format = new Intl.RelativeTimeFormat("en", { style: "narrow" });
const expected = "in 3 qtrs.";
const actual = format.format(3, "quarter");
assert.equal(actual, expected);
Will try to verify against polyfill.io Maybe it’s just us.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 17 (10 by maintainers)
Commits related to this issue
- Add en locale to Intl alias - fixes #676 — committed to JakeChampion/polyfill-library by JakeChampion 4 years ago
fix confirmed! 😃
#835 should fix that
PR to fix this issue is – https://github.com/Financial-Times/polyfill-library/pull/818