1.0.0 • Published 4 years ago

solar-lunar-converter v1.0.0

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

4 years ago

1.0.9

4 years ago

1.0.2

4 years ago

1.0.8

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago