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

14 lines
454 B
TypeScript

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 ? '是' : '否')