From 3b497464011aea65a68d5bc8eedc9d7d2c8ec00d Mon Sep 17 00:00:00 2001 From: ddshi <8811906+ddshi@user.noreply.gitee.com> Date: Sat, 28 Feb 2026 14:18:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4=20lunar-javascript=20?= =?UTF-8?q?=E4=B8=8D=E6=94=AF=E6=8C=81=E7=9A=84=20isLeapMonth=20=E6=96=B9?= =?UTF-8?q?=E6=B3=95?= 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, 2 deletions(-) diff --git a/src/utils/lunar.ts b/src/utils/lunar.ts index 58560a7..0446efe 100644 --- a/src/utils/lunar.ts +++ b/src/utils/lunar.ts @@ -13,7 +13,6 @@ export interface LunarInfo { day: number; // 农历日期 monthInChinese: string; // 农历月份中文 dayInChinese: string; // 农历日期中文 - isLeapMonth: boolean; // 是否闰月 yearInChinese: string; // 农历年(甲子年等) zodiac: string; // 生肖 } @@ -43,7 +42,6 @@ export function getLunarInfo(date: Date): LunarInfo { day: lunar.getDay(), monthInChinese: lunar.getMonthInChinese(), dayInChinese: lunar.getDayInChinese(), - isLeapMonth: lunar.isLeap(), yearInChinese: lunar.getYearInChinese(), zodiac: lunar.getZodiac(), };