import lunarUtils from './src/utils/lunarUtils' const testDates = [ { year: 2025, month: 1, day: 28 }, { year: 2025, month: 1, day: 29 }, { year: 2025, month: 1, day: 30 }, { year: 2026, month: 2, day: 16 }, { year: 2026, month: 2, day: 17 }, { year: 2026, month: 2, day: 18 } ] console.log('=== 农历年切换测试 ===') testDates.forEach(date => { const lunarDate = lunarUtils.solarToLunar(date.year, date.month, date.day) console.log(`${date.year}-${date.month}-${date.day} => ${lunarDate.yearStr} ${lunarDate.monthStr}${lunarDate.dayStr}`) })