i really appreciate the help, but the main problem is that i want only to show the days from the selected month,
for example if i select January i want only the days of January from 1-31 in the day selector
your method is working on the default locale, but if you change the locale to ‘fa-IR’ for example, you’ll see that days from next or previous month are also in the days list
as far as i understand it:
you can translate and/or convert
you can’t change the system
app.calendar.create({locale:'en-US-u-ca-gregory'}); // [0...9] gregorian
app.calendar.create({locale:'en-US-u-ca-persian'}); // [0...9] persian
app.calendar.create({locale:'fa-IR-u-ca-gregory'}); // [۰...۹] gregorian
app.calendar.create({locale:'fa-IR-u-ca-persian'}); // [۰...۹] persian