title: calculate difference between two times in moment js
body: <p>I'm writing a service in node js. I have used moment js for time related solutions.
  I want to calculate the time difference between two times. Here is my snippet and it's not giving me the desired output :</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var now = moment('11:08:30',"H:mm:ss");
  var prev = moment('11:07:30', "H:mm:ss");
  var result = moment(now.diff(prev)).format("H:mm:ss");
  console.log(result);</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.4.0/moment.min.js"&gt;&lt;/script&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>As per my understanding, I think the difference between <code>11:08:30</code> and <code>11:07:30</code> should come out as 00:01:00 but instead the output is coming as <code>5:31:00</code>. I don't understand why this is happening. How do I fix it so that the output is <code>00:01:00</code> i.e 1 minute ?</p>