ethiopian-to-gregorian
v1.1.1
Published
"Ethiopian calendar to Gregorian and Viseversa"
Maintainers
Readme
ethiopian-to-gregorian
Contains some util methods for converting gregorian calander to ethiopian calander
Install
npm i ethiopian-to-gregorian
Quick start
npm i ethiopian-to-gregorianto install the packageimport { getEthiopicDate, etchangetolong, etchangetofull, etchangetomedium, etchangetoshort, } from "./dateconverter.js": to import.
3. const ddArray = getEthiopicDate(31, 3, 2024); Display any where inside your component.
The response is an Array[Year, Month, Day] after manipulating the array you can append " ዓ.ም"
4. const ddfull = etchangetofull(31, 3, 2024);
** code inside conponent: ** {ddfull}
** Output: ** እሁድ, ሚያዝያ 22, 20165. const ddlong = etchangetolong(31, 3, 2024);
** code inside conponent: ** {ddlong}
** Output: ** ሚያዝያ 22, 20166. const ddmedium = etchangetomedium(31, 3, 2024);
** code inside conponent: ** {ddmedium}
** Output: ** ሚያ 22, 20167. const ddshort = etchangetoshort(31, 3, 2024);
** code inside conponent: ** {ddshort}
** Output: ** 22/7/2016Technologies Used
Language: Javascript
