title: Moment js format duration
body: <p>I got an ISO 8601 string as duration and I need to format it as XhYm( 1h20m). Does anyone have some suggestions? </p>
  
  <p>What I did right now is this:</p>
  
  <pre><code>const duration = moment.duration(secondData.duration);
  const formatted = moment.utc(duration.asMilliseconds()).format('HH:mm');
  </code></pre>