xsoh / moment-hijri

A Hijri calendar (Based on Umm al-Qura calculations) plugin for moment.js

Home Page:http://momentjs.com/docs/#/plugins/hijri/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

zuhairkareem opened this issue · comments

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

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