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 Months Names #24

Open
abdulmis opened this issue Jun 22, 2024 · 1 comment
Open

Arabic Months Names #24

abdulmis opened this issue Jun 22, 2024 · 1 comment

Comments

@abdulmis
Copy link

Hello; how can we get the Arabic Months Names such as 👍
محرم
صفر
ربيع اول
,,,,

@aarif
Copy link
Contributor

aarif commented Jun 22, 2024

Have you tried the first few lines from the example code?

String locale = 'ar';

//Suppose current gregorian data/time is: Mon May 29 00:27:33 2018
HijriCalendar _today = new HijriCalendar.now();
HijriCalendar.setLocal(locale);
print(_today.hYear); // 1441
print(_today.hMonth); // 11
print(_today.hDay); // 28
print(_today.getDayName());

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

No branches or pull requests

2 participants