You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Capacitor CLI : 4.1.0
@capacitor/android : not installed
@capacitor/core : 4.1.0
@capacitor/ios : not installed
Utility:
cordova-res : 0.15.4
native-run : 1.6.0
System:
NodeJS : v16.17.0 (/usr/bin/node)
npm : 8.15.0
OS : Linux 5.15
Additional Information
I have checked renderMonth(month, year) method inside /node_modules/@ionic/core/components/ion-datetime.js and I think we just need to add Intl format method on the day too. please confirm or just tell me if I missed some configuration to make this work as expected. Thank you
The text was updated successfully, but these errors were encountered:
liamdebeasi
changed the title
bug: Apply selected locales on month numeric days (ion-datetime)
bug: datetime, days of month are not localized according to numbering system
Aug 29, 2022
Thanks for the issue. This has been resolved via #25847, and a fix will be available in an upcoming release of Ionic Framework. Please feel free to continue testing the dev build.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Prerequisites
Ionic Framework Version
Current Behavior
After configuring the ion-datetime component to use the Arabic-Indic numbering system (١, ٢, ٣ ... etc)
<ion-datetime locale="ar-EG-u-nu-arab"></ion-datetime>
The month days are still rendered using the Latn system (1,2,3 ..etc). Also, the years picker still using the Latn system.
Expected Behavior
We expect to have all numbers displayed in the Arabic-Indic numbering system.
Steps to Reproduce
Set the locale property with any Arabic locale that uses the Arabic-Indic numbering system.
<ion-datetime locale="ar-EG-u-nu-arab"></ion-datetime>
Code Reproduction URL
https://github.com/mona4300/datetime-arab-locale
Ionic Info
Additional Information
I have checked
renderMonth(month, year)
method inside/node_modules/@ionic/core/components/ion-datetime.js
and I think we just need to add Intl format method on the day too. please confirm or just tell me if I missed some configuration to make this work as expected. Thank youThe text was updated successfully, but these errors were encountered: