PersianMaterialDateTimePicker icon indicating copy to clipboard operation
PersianMaterialDateTimePicker copied to clipboard

persianCalendar.getPersianMonth()

Open yashar98 opened this issue 6 years ago • 2 comments

سلام چرا این تابع همیشه یک ماه کمتر میده مثلا الان اگه ماه دوم باشه یک میده و کلا همیشه یکی کمتره ماه فروردین صفر حساب میشه

yashar98 avatar May 07 '18 20:05 yashar98

منطقش رو نمیدونم ولی کلاس تقویم خود جاوا هم همین شکلی هست.

runo280 avatar May 20 '18 15:05 runo280

Because, starts month from 0 index So, 0 index is Farvardin and 11 index is Esfand.

ImanX avatar Jul 16 '18 13:07 ImanX