Closed ttvd94 closed 5 years ago
this statement var date = new persianDate([2018])
return Persian date. you convert it to Persian calendar again and the result is the same
Apparently result is not the same, but even wrong. Since the Persian match for Gregorian-2018 would be like 1397, so the expected output is ۱۳۹۷
Using version 1.0.5,
toCalendar
not working correctly. I need to convert Gregorian to Persian date but the same Gregorian date is returned.