xsoh / moment-hijri

A Hijri calendar (Based on Umm al-Qura calculations) plugin for moment.js
http://momentjs.com/docs/#/plugins/hijri/
MIT License
200 stars 82 forks source link

30-10-1400 shown as invalid date but is valid according to https://www.ummulqura.org.sa #86

Open zuhairkareem opened 9 months ago

zuhairkareem commented 9 months ago

According to the ummul-qura site, 30-Shawwal-1400 is a valid date , but it is returned as invalid when passed throught isValid function moment('1400-10-30', 'iYYYY-iMM-iDD').isValid() , Is this correct?

https://www.ummulqura.org.sa/yearcalender.aspx?y=1400&l=True image

zuhairkareem commented 7 months ago

For now I am using https://github.com/umalqura/umalqura/tree/master which has this issues fixed