ydmo
Date parsing for a past or future data with a simple short letter format
Install
$ yarn add ydmo$ npm install ydmo
Usage (ES6 imports)
;// returns date 1 year and 3 days in the futureconst futureDate = ;// returns date 1 year and 3 days in the pastconst pastData = ;
Date codes
Year: y
Month: mo
or m
Week: w
Day: d
Hour: h
Minute: mi
Second: s
License
MIT © Benjamin Hollway