Files
张翔 08ea5fbe98 feat(admin): 添加用户管理相关文件
添加用户管理视图、API和状态管理文件
2026-03-28 14:37:29 +08:00

15 lines
485 B
TypeScript

import lunarUtils from './src/utils/lunarUtils'
const testDates = [
{ year: 2025, month: 1, day: 18 },
{ year: 2025, month: 1, day: 19 },
{ year: 2025, month: 1, day: 20 },
{ year: 2025, month: 1, day: 21 },
{ year: 2025, month: 1, day: 22 }
]
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}`)
})