Skip to content

Releases: sindresorhus/pretty-ms

v9.0.0

18 Jan 12:11
Compare
Choose a tag to compare

Breaking

Improvements

v8.0.0...v9.0.0

v8.0.0

06 Jun 12:51
Compare
Choose a tag to compare

Breaking

v7.0.1...v8.0.0

v7.0.1

24 Sep 09:37
Compare
Choose a tag to compare
  • Fix sub-second output when using colonNotation option (#53) 8fdcaec

v7.0.0...v7.0.1

v7.0.0

27 Apr 14:26
Compare
Choose a tag to compare

Breaking

  • Always floor time instead of rounding up (#49) 20cbdaf
    It's probably not breaking to most users, but if you depend on the exact output, in for example, unit tests, the output might have changed slightly.

v6.0.1...v7.0.0

v6.0.1

02 Mar 13:01
Compare
Choose a tag to compare
  • Fix spacing when using colonNotation option (#47) 0de4dc3

v6.0.0...v6.0.1

v6.0.0

12 Feb 20:05
Compare
Choose a tag to compare

Breaking

  • Require Node.js 10 46433b4
  • Remove tilde prefix ~ from compact and unitCount option output 4e3c6a6 737628f

Fixes

  • Fix milliseconds rounding inconsistency (#41) f48b81c

v5.1.0...v6.0.0

v5.1.0

22 Nov 06:52
Compare
Choose a tag to compare

v5.0.0

24 Apr 03:14
Compare
Choose a tag to compare

Breaking:

  • Require Node.js 8 8d1fe1e
  • Rename some options:
    • secDecimalDigitssecondsDecimalDigits
    • msDecimalDigits millisecondsDecimalDigits
    • separateMsseparateMilliseconds
    • formatSubMsformatSubMilliseconds

Enhancements:

v4.0.0...v5.0.0

v4.0.0

18 Sep 16:31
Compare
Choose a tag to compare

Breaking:

Other:

  • Add unitCount option. (#29) 4717127
  • Add option to format microseconds and nanoseconds. (#25) 0950e70
  • Fix {secDecimalDigits: 0} rounding rollover issue. (#27) 7602f88

v3.2.0...v4.0.0