m3hari / zemen Goto Github PK View Code? Open in Web Editor NEW 23.0 4.0 10.0 878 KB Ethiopian to Gregorian date conversion javascript implementation - የ ኢትዮጵያ ቀን መቁጠሪያ License: MIT License JavaScript 98.27% HTML 1.73% ethiopian date javascript calander jdn Introduction · People · Discuss
Zemen Ethiopian Calender library. Based On Beyene-Kudlek Algorithm http://www.geez.org/Calendars/ Installation $ npm install --save zemen Usage const Zemen = require('zemen'); let zare = new Zemen(); zare.toString() // '2009-12-27' zare.format('MMM-DD-YYYY') // ነሐሴ-27-2009 zare.format('d ፣ MMM DD ቀን YYYY E') // ቅዳሜ ፣ ነሐሴ 27 ቀን 2009 ዓ.ም // TO Ethiopian Zemen.toEC("2017-09-02").toString() // '2009-12-27' Zemen.toEC(2017,8,2).toString() // '2009-12-17' Zemen.toEC(new Date()).toString() // '2009-12-27' // TO Gregorian Zemen.toGC("2009-12-27").toDateString() // Sat Sep 02 2017 Zemen.toGC(2009,11,27).toDateString() // Sat Sep 02 2017 Zemen.toGC(new Zemen()).toDateString() // Sat Sep 02 2017 Plans More formating Support the browser Publish on npm playground github page Date picker Date utilities vue,angular,react wrapper Contributing Fork it! Create your feature branch Submit a pull request :D
Zemen Ethiopian Calender library. Based On Beyene-Kudlek Algorithm http://www.geez.org/Calendars/ Installation $ npm install --save zemen Usage const Zemen = require('zemen'); let zare = new Zemen(); zare.toString() // '2009-12-27' zare.format('MMM-DD-YYYY') // ነሐሴ-27-2009 zare.format('d ፣ MMM DD ቀን YYYY E') // ቅዳሜ ፣ ነሐሴ 27 ቀን 2009 ዓ.ም // TO Ethiopian Zemen.toEC("2017-09-02").toString() // '2009-12-27' Zemen.toEC(2017,8,2).toString() // '2009-12-17' Zemen.toEC(new Date()).toString() // '2009-12-27' // TO Gregorian Zemen.toGC("2009-12-27").toDateString() // Sat Sep 02 2017 Zemen.toGC(2009,11,27).toDateString() // Sat Sep 02 2017 Zemen.toGC(new Zemen()).toDateString() // Sat Sep 02 2017 Plans More formating Support the browser Publish on npm playground github page Date picker Date utilities vue,angular,react wrapper Contributing Fork it! Create your feature branch Submit a pull request :D
Can you make it moment plugin Hi bro, can you make it momentjs plugin .... which is very popular datetime javascript library that works on both browser and node.js and different tools like calendar and date time pickers support.
The same JDN for different dates. The ethiopicToJDN functions returns the same JDN for different dates. For example: ethiopicToJDN(6, 13, 2000) // = 2454721 ethiopicToJDN(1, 1, 2001) // = 2454721
Vue.js 🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
javascript JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Machine learning Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Facebook We are working to build community through open source technology. NB: members must have two-factor auth.