1
0
mirror of synced 2025-12-12 08:08:05 +08:00

v1.2.0 支持0001到9999年。

This commit is contained in:
6tail
2021-04-12 22:19:49 +08:00
parent b7f5c53b3e
commit 8718348cd7
3 changed files with 467 additions and 442 deletions

View File

@@ -1,4 +1,4 @@
const {Solar, Lunar, NineStar, EightChar, SolarWeek, SolarMonth, SolarSeason, SolarHalfYear, SolarYear, SolarUtil, LunarUtil, HolidayUtil} = require('./lunar.js')
const {Solar, Lunar, NineStar, EightChar, SolarWeek, SolarMonth, SolarSeason, SolarHalfYear, SolarYear, LunarMonth, LunarYear, ShouXingUtil, SolarUtil, LunarUtil, HolidayUtil} = require('./lunar.js')
module.exports = {
Solar: Solar,
@@ -10,6 +10,9 @@ module.exports = {
SolarSeason: SolarSeason,
SolarHalfYear: SolarHalfYear,
SolarYear: SolarYear,
LunarMonth: LunarMonth,
LunarYear: LunarYear,
ShouXingUtil: ShouXingUtil,
SolarUtil: SolarUtil,
LunarUtil: LunarUtil,
HolidayUtil: HolidayUtil

902
lunar.js

File diff suppressed because one or more lines are too long

View File

@@ -1,6 +1,6 @@
{
"name": "lunar-javascript",
"version": "1.0.36",
"version": "1.2.0",
"description": "lunar is a calendar library for Solar and Chinese Lunar.",
"main": "index.js",
"scripts": {