All Projects → m3hari → zemen

m3hari / zemen

Licence: MIT License
Ethiopian to Gregorian date conversion javascript implementation - የ ኢትዮጵያ ቀን መቁጠሪያ

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to zemen

prototyped.js
Some common Typescript prototypes
Stars: ✭ 22 (+10%)
Mutual labels:  date
vue-timeselector
🕒 Simply customizable powerful time picker for Vue.js
Stars: ✭ 41 (+105%)
Mutual labels:  date
excel-date-to-js
Convert Excel date in integer format into JS date. Dates are stored as numbers in Excel and count the number of days since January 0, 1900 (1900 standard, for mac it is 1904, which means January 0, 1904 is the start date). Times are handled internally as numbers between 0 and 1.
Stars: ✭ 26 (+30%)
Mutual labels:  date
wareki
Utility function for Japanese calender.
Stars: ✭ 23 (+15%)
Mutual labels:  date
isoweek
Go package for calculating a start date and time of ISO 8601 week. (golang)
Stars: ✭ 32 (+60%)
Mutual labels:  date
vuejs3-datepicker
vue 3 datepicker. supports disabling, highlighting of dates and programmatic access of date.
Stars: ✭ 23 (+15%)
Mutual labels:  date
rescript-date
📆 Date manipulation in ReScript.
Stars: ✭ 101 (+405%)
Mutual labels:  date
date4j
Lightweight alternative to Java's built-in date-time classes. Android-friendly. Compiles under JDK 1.5.
Stars: ✭ 36 (+80%)
Mutual labels:  date
utils.js
👷 🔧 zero dependencies vanilla JavaScript utils.
Stars: ✭ 14 (-30%)
Mutual labels:  date
chakra-dayzed-datepicker
Chakra UI + Dayzed = datepicker
Stars: ✭ 44 (+120%)
Mutual labels:  date
moment-cache
⏱ Simple utility to cache moment.js results and speed up moment calls.
Stars: ✭ 29 (+45%)
Mutual labels:  date
Datify
Easypeasy date functions. 🕛
Stars: ✭ 45 (+125%)
Mutual labels:  date
react-daterange-picker
A react date range picker to using @material-ui. Live Demo: https://flippingbitss.github.io/react-daterange-picker/
Stars: ✭ 85 (+325%)
Mutual labels:  date
vue-date-fns
Date filter for Vue based on the date-fns.
Stars: ✭ 21 (+5%)
Mutual labels:  date
nepali-datetime
Python's core datetime inspired nepali datetime (BS date & NPT) package 🇳🇵
Stars: ✭ 36 (+80%)
Mutual labels:  date
react-picky-date-time
A react component for date time picker. Online demo examples
Stars: ✭ 41 (+105%)
Mutual labels:  date
micell
A collection of functions for front-end development
Stars: ✭ 16 (-20%)
Mutual labels:  date
vue-single-date-picker
A Vue project - single date picker
Stars: ✭ 16 (-20%)
Mutual labels:  date
dayjs
Extended fork of Day.js - 2KB immutable date library alternative to Moment.js
Stars: ✭ 36 (+80%)
Mutual labels:  date
inquirer-datepicker-prompt
Datepicker prompt for inquirer.js
Stars: ✭ 24 (+20%)
Mutual labels:  date

Zemen

Ethiopian Calender library.

Under Development MIT

Build Status

Coverage Status

gzip

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

  1. Fork it!
  2. Create your feature branch
  3. Submit a pull request :D
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].