import lunarUtils from './src/utils/lunarUtils' const today = new Date(2026, 0, 20) const lunarDate = lunarUtils.solarToLunar( today.getFullYear(), today.getMonth() + 1, today.getDate() ) console.log('公历日期:', today.toISOString().split('T')[0]) console.log('农历日期:', lunarDate.yearStr, lunarDate.monthStr, lunarDate.dayStr) console.log('生肖:', lunarDate.zodiac.name) console.log('闰月:', lunarDate.isLeapMonth ? '是' : '否')