Wrong stand-alone long month form
Which package?
@formatjs/intl-datetimeformat
Describe the bug
With polyfill-force the stand-alone full month name in ru locale is wrong:
new Intl.DateTimeFormat('ru', { month: 'long' }).format();
// 10 октября
new Intl.DateTimeFormat('ru', { month: 'long' }).format();
// октября
To Reproduce
Codesandbox URL
https://codesandbox.io/p/sandbox/intl-datetimeformat-z4hghd?file=/src/index.js
Reproducible Steps/Repo
import "@formatjs/intl-datetimeformat/polyfill-force";
import "@formatjs/intl-datetimeformat/locale-data/ru";
const relativeMonth = new Intl.DateTimeFormat("ru", {
day: "numeric",
month: "long",
}).format();
const standAloneMonth = new Intl.DateTimeFormat("ru", {
month: "long",
}).format();
console.log(relativeMonth);
console.log(standAloneMonth);
Expected behavior
Right long form for stand-alone month should be used: октябрь (see clrd)
Additional context
Everything works fine at least in Chrome & Firefox without polyfill.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hopefully it won't be closed without an answer at all.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.