0.1.0 • Published 6 years ago

hemidate v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

hemidate

What it is

Port of Leonard Ritter's hemidate.py

What it does

Exposes four functions:

fromDate(date) takes an ugly JavaScript Date object and turns it into a Hemidate {year, month, day}

toDate(hemidate) takes a Hemidate and turns it into... you guessed it

validate(hemidate) validates a Hemidate

format(hemidate) returns a human readable string representation of a Hemidate

Version History

0.1.0

  • inital release