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
moment.duration(x).format() has been deprecated. You can usemoment.utc(4366589).format("HH:mm:ss") to get the desired response.
moment.duration(x).format()
moment.utc(4366589).format("HH:mm:ss")
console.log(moment.utc(4366589).format("HH:mm:ss"))