Releases: ZimGil/readable-times
Releases · ZimGil/readable-times
0.3.0
0.2.0
- Convert toMilliseconds to use RegExp
- Allow toMilliseconds to take array input
- Allow separator option (toMilliseconds)
- Allow toReadable to return an Array or use optional separator
- Allow toMilliseconds much more identifiers
MILLISECOND: ['milliseconds', 'millisec', 'millisec', 'ms']
SECOND: ['seconds','second','secs','sec','s']
MINUTE: ['minutes','minute','mins','min','m']
HOUR: ['hours','hour','h']
DAY: ['days','day','d']
WEEK: ['weeks','week','w']
MONTH: ['months','month','mo']
YEAR: ['years','year','y']