xsoh/moment-hijri

Why dates beyond 1500 AH not supported.

anshu-git opened this issue · 3 comments

We are using the moment-hijri in a datepicker component. There we have noticed that if we try to get a date of 1501 or above it returns NaN. Infact I can see the comments in js also that it will return dates till year 1500 only. Any particular reason for this?

We are using the moment-hijri in a datepicker component. There we have noticed that if we try to get a date of 1501 or above it returns NaN. Infact I can see the comments in js also that it will return dates till year 1500 only. Any particular reason for this?

Hi anshu-git,
Did you find a solution for this?

I am facing this issue for dates before 1369 any idea?

For any one who are facing this issue, after a long search I didn't find any reasonable reason for this issue so I'm using a utils to convert from gregorian to Hijri and vice versa without using moment-hijri

Utils Url