1.0.10 • Published 2 years ago

solar-lunar-converter v1.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Solar Lunar Converter

Usage

1. Installation

yarn add solar-lunar-converter or npm i solar-lunar-converter

2. Converter
import solarLunarConverter from 'solar-lunar-converter';

const solarDate = new Date('Sun Dec 26 2021 20:35:23 GMT+0700');
const lunarDate = solarLunarConverter.convertSolar2Lunar(solarDate) // [23, 11, 2021, 0]
const lunarDate = solarLunarConverter.toLunar(solarDate) // 23/11/2021
1.0.10

2 years ago

1.0.9

2 years ago

1.0.2

2 years ago

1.0.8

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago