From 5a3ef7cde414333c59718ed333f65bada84af377 Mon Sep 17 00:00:00 2001 From: ddshi <8811906+ddshi@user.noreply.gitee.com> Date: Sat, 28 Feb 2026 14:00:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20lunar.isLeapMonth?= =?UTF-8?q?=20=E6=96=B9=E6=B3=95=E5=90=8D=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 --- src/utils/lunar.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/lunar.ts b/src/utils/lunar.ts index 513af31..58560a7 100644 --- a/src/utils/lunar.ts +++ b/src/utils/lunar.ts @@ -43,7 +43,7 @@ export function getLunarInfo(date: Date): LunarInfo { day: lunar.getDay(), monthInChinese: lunar.getMonthInChinese(), dayInChinese: lunar.getDayInChinese(), - isLeapMonth: lunar.isLeapMonth(), + isLeapMonth: lunar.isLeap(), yearInChinese: lunar.getYearInChinese(), zodiac: lunar.getZodiac(), };