amirmehdizadeh / JalaliCalendar

Apache License 2.0
84 stars 46 forks source link

Increase Month by 1 #19

Open devopsy-ir opened 7 years ago

devopsy-ir commented 7 years ago

SALAM Thank to your good class, I think in method 'gregorianToJalali' the month must be increased by 1. In the other words, line 216 of class JalaliCalendar, must be changed from jalaliMonth = i; into: jalaliMonth = i + 1;