Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`
MIT License
Bot releases are hidden (Show)
BigInt
(#66) 014edf2https://github.com/sindresorhus/pretty-ms/compare/v8.0.0...v9.0.0
https://github.com/sindresorhus/pretty-ms/compare/v7.0.1...v8.0.0
colonNotation
option (#53) 8fdcaechttps://github.com/sindresorhus/pretty-ms/compare/v7.0.0...v7.0.1
https://github.com/sindresorhus/pretty-ms/compare/v6.0.1...v7.0.0
colonNotation
option (#47) 0de4dc3https://github.com/sindresorhus/pretty-ms/compare/v6.0.0...v6.0.1
~
from compact
and unitCount
option output 4e3c6a6 737628fhttps://github.com/sindresorhus/pretty-ms/compare/v5.1.0...v6.0.0
Breaking:
secDecimalDigits
→ secondsDecimalDigits
msDecimalDigits
→ millisecondsDecimalDigits
separateMs
→ separateMilliseconds
formatSubMs
→ formatSubMilliseconds
Enhancements:
https://github.com/sindresorhus/pretty-ms/compare/v4.0.0...v5.0.0
Breaking:
Other:
unitCount
option. (#29) 4717127{secDecimalDigits: 0}
rounding rollover issue. (#27) 7602f88https://github.com/sindresorhus/pretty-ms/compare/v3.2.0...v4.0.0