Closed cellog closed 3 years ago
The current version of intl-messageformat is 9.4.6, and this package depends on 2.2.0. This breaks all of the date skeleton formats described in https://formatjs.io/docs/intl-messageformat#datetime-skeleton
intl-messageformat
2.2.0
Would you accept a PR bumping the intl-messageformat version in package.json?
A codesandbox example or similar or at least steps to reproduce the behavior:
t("month-label", "{ date, date, ::MMMMyyyy }", { date: new Date() });
It should format with "February 2021" but instead formats as "02/08/2021"
Sure PR's are very welcome - not using this myself and lacking time that would help a lot.
merged and published in i18next-icu@2.0.0
🐛 Bug Report
The current version of
intl-messageformat
is 9.4.6, and this package depends on2.2.0
. This breaks all of the date skeleton formats described in https://formatjs.io/docs/intl-messageformat#datetime-skeletonWould you accept a PR bumping the intl-messageformat version in package.json?
To Reproduce
A codesandbox example or similar or at least steps to reproduce the behavior:
Expected behavior
It should format with "February 2021" but instead formats as "02/08/2021"
Your Environment