1.0.12 • Published 5 years ago

lunardate v1.0.12

Weekly downloads
9
License
MIT
Repository
github
Last release
5 years ago

lunardate

Thi is the javascript library to convert date to lunar date and vice versa.

installation

    npm install lunardate

Usages

convert from solar date to lunar date

import {convertSolar2Lunar} from "lunardate"

const lunarDate = convertSolar2Lunar(20, 5, 1990);

console.log(lunarDate)

// output will give below result
// { year: 1990, month: 4, day: 26, isLeafYear: false }

Credit

This library using the source from https://www.informatik.uni-leipzig.de/~duc/amlich/ with few small modification

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago