title: Moment.js - Strange behavior when added days
body: <p>I'm trying to increase 1 day in a loop in October (2016) but there was a strange behavior. When arriving on 10/15/2016 it does not increase 1 day, only 23 hours.</p>
  
  <pre><code>var date = moment("2016-09-25");
  for (var j = 0; j &lt; 42; j++) {
      console.log('before: ' + date.format());
      date = date.clone();
      date.add(1, 'day');
      console.log('after: ' + date.format());
  }
  </code></pre>
  
  <p>console:</p>
  
  <blockquote>
    <p>after: 2016-10-13T00:00:00-03:00</p>
    
    <p>before: 2016-10-13T00:00:00-03:00</p>
    
    <p>after: 2016-10-14T00:00:00-03:00</p>
    
    <p>before: 2016-10-14T00:00:00-03:00</p>
    
    <p>after: 2016-10-15T00:00:00-03:00</p>
    
    <p>before: 2016-10-15T00:00:00-03:00</p>
    
    <p>after: 2016-10-15T23:00:00-03:00</p>
    
    <p>before: 2016-10-15T23:00:00-03:00</p>
    
    <p>after: 2016-10-16T23:00:00-02:00</p>
    
    <p>before: 2016-10-16T23:00:00-02:00</p>
  </blockquote>
  
  <p><a href="https://jsfiddle.net/7bxqo0m2/" rel="nofollow">https://jsfiddle.net/7bxqo0m2/</a></p>