Skip to content

Releases: retraigo/duration.js

v2.3.0

15 Mar 14:04
21b73c7
Compare
Choose a tag to compare

Please update from v2.2.0 to v2.3.0. Multiple bugs have been found with v2.2.0

What's Changed

  • feat: Add microseconds and nanoseconds by @retraigo in #10
  • fix: fromString throws an error when attempting to read microseconds by @retraigo in #11

Full Changelog: v2.2.0...v2.3.0

v2.2.0

14 Mar 07:26
e9fa559
Compare
Choose a tag to compare

What's Changed

  • feat: New methods + Better documentation by @retraigo in #9

Full Changelog: v2.1.5...v2.2.0

v2.1.5

06 Mar 11:48
40466fe
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.1.4...v2.1.5

v2.1.4

06 Mar 11:25
18ed9c7
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.1.3...v2.1.4

v2.1.3

06 Mar 10:11
88b8103
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.1.2...v2.1.3

v2.1.2

06 Mar 05:34
67e0a52
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.1.1...v2.1.2

v2.1.1

05 Mar 14:53
24cc4df
Compare
Choose a tag to compare

What's Changed

Contributors

Full Changelog: v2.1.0...v2.1.1

v2.1.0

05 Mar 05:40
Compare
Choose a tag to compare

Added a getFormattedDuration method.

Full Changelog: v2.0.0...v2.1.0

v2.0.0

04 Mar 17:10
Compare
Choose a tag to compare

First major version bump within 45 minutes of minor version bump!

Package is now ESM-only as I do with all of my packages.

You can still use it in your CommonJS projects through import(). Or stick to @retraigo/[email protected] till you are ready to use ESM.

Check this gist for reasons why I made this change.

v1.1.0

04 Mar 16:25
Compare
Choose a tag to compare

First minor version bump!

Added a fromString static method for the Duration class which reads a string and parses a duration from it.

Full Changelog: v1.0.5...v1.1.0