Is there any way I can use the moment.js format method on duration objects? I can\'t find it anywhere in the docs and it doesn\'t seen to be an attribute on du
format
I use:
var duration = moment.duration("09:30"); var str = moment(duration._data).format("HH:mm");
And I get "09:30" in var str.