Closed Scimonster closed 8 years ago
HDate.setTishreiMonth(13) should advance to Tishrei of the next year. For example:
HDate.setTishreiMonth(13)
var hd = new Hebcal.HDate('15 Nisan 5775'); console.log(hd.getTishreiMonth()); // 7 hd.setTishreiMonth(13); console.log(hd.toString()); // 15 Tishrei 5775
It should log 15 Tishrei 5776.
15 Tishrei 5776
Same issue with setMonth.
setMonth
HDate.setTishreiMonth(13)
should advance to Tishrei of the next year. For example:It should log
15 Tishrei 5776
.