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

Arabic locale has incorrect week days display #1087

Open
lmetdaoui opened this issue Mar 4, 2025 · 0 comments · May be fixed by #1088
Open

Arabic locale has incorrect week days display #1087

lmetdaoui opened this issue Mar 4, 2025 · 0 comments · May be fixed by #1088
Labels
awaiting triage The issue is not reviewed by the maintainers bug Something isn't working

Comments

@lmetdaoui
Copy link

Describe the bug
When using the ar locale, week days are not differentiable.
Image

To Reproduce
Pass locale="ar" to the component tag.

Expected behavior
It should display explicit day names like

Image

The origin of this bug seems to be located in utils.ts where we always slice(0,2). Arabic day names all begin with the same two letters, causing this issue.

Image

Desktop & mobile (please complete the following information):

  • Browser : All
  • Library version : 11.0.1
@lmetdaoui lmetdaoui added awaiting triage The issue is not reviewed by the maintainers bug Something isn't working labels Mar 4, 2025
@lmetdaoui lmetdaoui linked a pull request Mar 4, 2025 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting triage The issue is not reviewed by the maintainers bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant