-
-
Notifications
You must be signed in to change notification settings - Fork 515
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
MonthView locale 'ar-lb' showing in numbers instead of numerals #508
Comments
Yes that's more like it :) |
Released with Maintaining this project has been so educating! |
Thank you so much for your quick response! It's a really great project, lightweight, simple to use, easily customizable! |
Thanks! Consider sponsoring the project, or convincing your employer to do so! |
Quick question, when would the v3.4.0 release be available on npm? |
It should already be, maybe it was just a hiccup? |
Since the formatDay argument has been available since v3.4.0, I propose the type. wojtekmaj/react-calendar#508
Hi All, I am using the react-calendar version '3.7.0'. I want to render calendar with arabic numerals. I tried to give locale as 'ar-EG'. It is displaying correctly. But, when I tried to give locale as 'ar-AE' the numbers are not arabic. @wojtekmaj . Can you please help me. |
@yschoueri Number formatting is done based on Intl implementation in your browser. Looks like all browser vendors form some reason decided ar-AE should result in numbers returned. There's nothing I can do on my side. |
@wojtekmaj Thank you :) |
I am using react-calendar 3.3.1 with my own styling and when my locale is 'ar-lb', in the month view, the days are shown in numbers instead of arabic numerals whereas in the year view, it is correctly shown in numerals. I couldn't find a function formatDays similar to all the other format prop methods provided.
Month view vs Year view
The text was updated successfully, but these errors were encountered: