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

fix: handle arabic short week days #1088

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

lmetdaoui
Copy link

@lmetdaoui lmetdaoui commented Mar 4, 2025

Describe your changes

When using ar as locale, week days' short names were identical because we would always slice the full day names on indexes 0 to 2 to format them.

I made an exception for arabic, slicing the weekdays on indexes 2 to 5

This is how it looks like now:

Before After
image image

Issue ticket number and link

Fixes #1087

Checklist before requesting a review

  • I have performed a self-review of my code
  • I have ensured that unit tests pass without errors
  • If it is a new feature, I have added a new unit test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Arabic locale has incorrect week days display
1 participant