title: Moment js is not working for january (month 0)
body: <p>I know in moment months are 0 indexed. Basically I set this.month to any integer from 0 to 11 and run the following code. For some reason it doesn't want to update the moment variable for the month January (which has the number 0). What is wrong and how do I fix?</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>const d: Moment = moment();
  if (this.month) d.month(this.month);
  console.log("Month value: " + this.month);
  console.log("Moment value: " + d.month());</code></pre>
  </div>
  </div>
  </p>
  
  <p>Console.log returns the following for this.month = 2 (March)</p>
  
  <p>Month value: 2
  Moment value: 2</p>
  
  <p>Console.log returns the following for this.month = 1 (February)</p>
  
  <p>Month value: 1
  Moment value: 1</p>
  
  <p>Console.log returns the following for this.month = 0 (January)</p>
  
  <p><strong>Month value: 0</strong>
  <strong>Moment value: 1</strong></p>