From af0ccbe09655aecd95f3f9234b45b32ebe8602b3 Mon Sep 17 00:00:00 2001 From: Ambient Hack Date: Tue, 6 Feb 2024 00:19:50 +0300 Subject: [PATCH] Bugfix in JewishDate.forward() --- src/hebrewcalendar/JewishDate.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hebrewcalendar/JewishDate.ts b/src/hebrewcalendar/JewishDate.ts index d349e87..7c08ff7 100644 --- a/src/hebrewcalendar/JewishDate.ts +++ b/src/hebrewcalendar/JewishDate.ts @@ -1268,6 +1268,7 @@ export class JewishDate { // if last day of year if (this.gregorianMonth === 12) { this.gregorianYear++; + this.gregorianMonth = 1; } else { this.gregorianMonth++; }