(feature) Add moment-duration-format dependency
See original GitHub issueDid you search for duplicate issue? Yes
I would like to use the moment-duration-format library with this package. It looks like the amDuration
pipe humanizes the duration, and I need more control over the output than what it provides.
I am thinking of a use case like {{ 5000 | amParseDuration | amDurationFormat:'mm:ss' }}
which would print the output 00:05
. moment.duration()
also supports some other parsing methods that could be included as well.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:17
- Comments:6
Top Results From Across the Web
moment-duration-format - npm
The duration.format method allows coordinated formatting of multiple moment durations at once. This function accepts an array of durations as ...
Read more >How to display duration time with moment-duration-format in ...
You need to import moment and moment-duration-format, firstly. import moment from 'moment'; import 'moment-duration-format'; Then, use duration ...
Read more >Format Moment.js Duration - Stack Overflow
One way of doing this might be to convert your duration back into a moment (perhaps using milliseconds), and then using the moment's...
Read more >moment-duration-format - Bountysource
Format function plugin for the Moment Duration object. Become a Bounty Hunter ... And I would create a wrapper on format result to...
Read more >Docs - Moment.js
We will not be adding new features or capabilities. We will not be changing ... especially date pickers and graphing libraries, take Moment...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Any possibility for this or maybe a work around
+1 was just looking for this!