https://github.com/vinc/cadate
Display the date in many calendars and formats 📅
https://github.com/vinc/cadate
calendar date
Last synced: 2 months ago
JSON representation
Display the date in many calendars and formats 📅
- Host: GitHub
- URL: https://github.com/vinc/cadate
- Owner: vinc
- License: mit
- Created: 2018-09-09T07:33:38.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-09T07:56:24.000Z (almost 7 years ago)
- Last Synced: 2025-04-23T03:18:11.839Z (2 months ago)
- Topics: calendar, date
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Cadate
======[](https://www.npmjs.com/package/cadate)
[](https://github.com/vinc/cadate/blob/master/LICENSE)Display the date in many calendars and formats
Install
-------$ sudo npm install --global cadate
Usage
-----Usage: `cadate [OPTION]... [DATE]`
Options:
-h, --help Show this message
-l, --locale NAME Use locale in BCP 47 format
-z, --timezone NAME Use timezone in IANA format
-c, --calendar NAME Use one of the following calendars:
buddhist, chinese, coptic, ethioaa, ethiopic,
gregory, hebrew, indian, islamic, islamicc,
japanese, persian, roc-n, --numbering NAME Use one of the following numbering systems:
arab, arabext, bali, beng, deva, fullwide, gujr,
guru, hanidec, khmr, knda, laoo, latn, limb, mlym,
mong, mymr, orya, tamldec, telu, thai, tibt--short Output short date
--abbr Output abbreviated date
--full Output full date
--huge Output full date with weekday-i, --iso8601 Output ISO 8601 date
Examples:
$ cadate
6/21/2018$ cadate --calendar hebrew
10/8/5778$ cadate --full --calendar islamic --numbering arab --locale ar
٨ شوال ١٤٣٩$ cadate --huge --timezone Europe/Paris --locale fr
jeudi 21 juin 2018$ cadate --iso8601
2018-06-21License
-------Copyright (c) 2018 Vincent Ollivier. Released under MIT.