I have a moment.Duration
object which I need to convert to string format HH:mm:ss
(without any timezone conversion). I know we can do like
foobar.hours + ":" + foobar.minutes + ":" + foobar.seconds
But honestly I was hoping to have a better solution that just string manipulations.