From 812b7a295e6bb7c7dd8363b4e0e969606f5c7ea5 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 3c61604..59822c1 100644 --- a/src/hebrewcalendar/JewishDate.ts +++ b/src/hebrewcalendar/JewishDate.ts @@ -1259,6 +1259,7 @@ export class JewishDate { // if last day of year if (this.gregorianMonth === 12) { this.gregorianYear++; + this.gregorianMonth = 1; } else { this.gregorianMonth++; }