1.0.0 • Published 5 years ago

lunar-calendar-date v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

参数说明

参数类型是否必须默认值说明
withYearbooleanfalse是否显示农历年

示例用法

import { lunarCalendarDate } from 'lunar-calendar-date'

const lunarDate = lunarCalendarDate()
const lunarDateWithYear = lunarCalendarDate(true)

console.log(lunarDate) // 七月廿九
console.log(lunarDateWithYear) // 庚子(鼠)年七月廿九