Closed Scimonster closed 8 years ago
Easy fix, just add an || clause to return MONTHS_IN_YEAR if it's 0 (due to %).
||
MONTHS_IN_YEAR
%
var hd = new Hebcal.HDate('15 Elul'); console.log(hd.getTishreiMonth()); // 0
Easy fix, just add an
||
clause to returnMONTHS_IN_YEAR
if it's 0 (due to%
).