Skip to content
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

Why only first character of week is rendered? #2068

Closed
zzzet opened this issue Aug 4, 2020 · 2 comments
Closed

Why only first character of week is rendered? #2068

zzzet opened this issue Aug 4, 2020 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@zzzet
Copy link

zzzet commented Aug 4, 2020

https://github.com/mui-org/material-ui-pickers/blob/137019c0ca703bce44b2a66feebc34efe5e4cd41/lib/src/views/Calendar/Calendar.tsx#L181
Even with extending the utils for LocalizationProvider and writing custom getWeekdays does not help.
May be we need and renderWeekDays to override the default render of week day.

Locale = th
Screen Shot 2563-08-04 at 5 20 00 PM

Locale = id
Screen Shot 2563-08-04 at 5 20 57 PM

@dmtrKovalenko
Copy link
Member

Yes that's definitely an issue. Originally it was done to support existed getWeekDays result.

@dmtrKovalenko dmtrKovalenko added the bug 🐛 Something isn't working label Aug 4, 2020
@tpeek
Copy link

tpeek commented Dec 10, 2020

This issue is being more official tracked here: https://github.com/mui-org/material-ui/issues/23677

@oliviertassinari oliviertassinari added duplicate This issue or pull request already exists and removed bug 🐛 Something isn't working labels Dec 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants