-
Notifications
You must be signed in to change notification settings - Fork 284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Intl.DateTimeFormat - wrong long weekday #2150
Comments
Without full-icu node only knows about en-US so yes. I'm going to close this as answered but I can move it to nodejs/help if you have follow-up questions. |
@bnoordhuis Not it is not answered.. If fallback to english is used, why then weekday long is Mon and not Monady - so it is short, not long? And for month is returned M10 instead of english fallback? |
The answer to your questions is mostly 'because ICU' - that's the library that implements the i18n logic, not node or V8 itself. |
OK, according to issue into which I referenced before (nodejs/node#26790) I thought, that this is nodejs thing. But if it has nothing to do with node itself, than there is no place to fix it. So probably it can stay closed - thank you |
I think it is related to nodejs/node#26790 because when no full ICU is installed and I have different locale, weekday long always returns short.
If localisation for cs-CZ is not installed, it returns fallback English name? Because for months it works differently, for cs-CZ it returns M10
The text was updated successfully, but these errors were encountered: