1.0.10 • Published 3 years ago

solar-lunar-converter v1.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
3 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

3 years ago

1.0.9

3 years ago

1.0.2

3 years ago

1.0.8

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.1

4 years ago

1.0.0

4 years ago