Skip to content

Releases: ZimGil/readable-times

0.3.0

27 Oct 00:40
Compare
Choose a tag to compare
  • Add milliseconds identifiers
  • Allow manual identifiers in toReadable
  • Allow manual identifiers in toMilliseconds
  • toReadable default identifiers load dynamically last available

0.2.0

25 Oct 11:02
Compare
Choose a tag to compare
  • 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']

0.1.0

22 Oct 14:51
Compare
Choose a tag to compare
v0.1.0

initial release