xsoh/moment-hijri

Fomat date with year greater than 1500 gives undefined NaN error

natashajaved opened this issue · 0 comments

When I try to format a date with year greater than 1500 like this momentHijri(date).format("MMM YYYY"), I get undefined 0NaN and if I format it momentHijri(date).format("iMMMM iYYYY") gives wrong date e.g Mar -100100