ahmedoid / hijri_date

Convert between Hijri Calendar and Gregorian Calendar date.
Other
18 stars 30 forks source link

arabic localization #21

Closed SamadDev closed 1 year ago

SamadDev commented 1 year ago

please provide an Arabic name with Arabic text, not an English

aarif commented 1 year ago

Try this:

HijriCalendar.setLocal('ar');

SamadDev commented 1 year ago

thank you for that just one more problem no matter what language the month-day number just has one unknow format and can not style and change the number language

aarif commented 1 year ago

Please provide more details of your problem.

Also, please feel free to make changes to the code and submit pull requests.

SamadDev commented 1 year ago

just i would like to show Hijri date with my style format of number and localizate

aarif commented 1 year ago

Your request is still not clear. Have you tried this?

var cal = HijriCalendar.now(); print(cal.toFormat("mm dd yy")); //09 14 39

SamadDev commented 1 year ago
Screenshot 2023-02-25 at 11 54 26 AM

photo5462885632859817171

no matter what I tried the month number style did not change stay like that

aarif commented 1 year ago

Sorry my friend. Your issue is with a different project.

https://github.com/ahmedoid/hijri_picker