Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 381 Bytes

File metadata and controls

17 lines (12 loc) · 381 Bytes
title Duration Format
signature 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.