fix: 修复 lunar.isLeapMonth 方法名错误

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
ddshi 2026-02-28 14:00:41 +08:00
parent e27bb64c7a
commit 5a3ef7cde4

View File

@ -43,7 +43,7 @@ export function getLunarInfo(date: Date): LunarInfo {
day: lunar.getDay(), day: lunar.getDay(),
monthInChinese: lunar.getMonthInChinese(), monthInChinese: lunar.getMonthInChinese(),
dayInChinese: lunar.getDayInChinese(), dayInChinese: lunar.getDayInChinese(),
isLeapMonth: lunar.isLeapMonth(), isLeapMonth: lunar.isLeap(),
yearInChinese: lunar.getYearInChinese(), yearInChinese: lunar.getYearInChinese(),
zodiac: lunar.getZodiac(), zodiac: lunar.getZodiac(),
}; };