duration-format


npm install moment-duration-format

This is a plugin that will allow comprehensive formatting of Moment Durations.

For example,

moment.duration(123, "minutes").format("h:mm");
// "2:03"

The repository is located at github.com/jsmreese/moment-duration-format.

npm install moment-duration-format

This is a plugin that will allow comprehensive formatting of Moment Durations.

For example,

moment.duration(123, "minutes").format("h:mm");
// "2:03"

The repository is located at github.com/jsmreese/moment-duration-format.