Skip to content

Zenysis/ethiopian-date

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ethiopian Date Converter

Build Status

Introduction

ethiopian-date is a date converter from Ethiopian calendar to Gregorian calendar and vice-versa. It is a port from @rgaudin's ethiopian_date python module.

Installation

npm install this package:

$ npm install ethiopian-date --save

Usage

Include it in your project:

var ethiopianDate = require('ethiopian-date');

ethiopian-date currently supports two function calls.

  • To convert Gregorian dates to Ethiopian, call:
ethiopianDate.toEthiopian(YYYY, MM, DD)

with return type array [YYYY, MM, DD]

  • To convert Ethiopian dates to Gregorian, call:
ethiopianDate.toGregorian(YYYY, MM, DD)

with return type array [YYYY, MM, DD]

Resources

About

ethiopian-date is a date converter from Ethiopian calendar to Gregorian calendar and vice-versa.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •