title: Why does 'new Date()' parse a string date incorrectly?
body: <p>When I try to parse a string date from March, <code>new Date()</code> works incorrectly. But when my string date is from April, everything is fine. I don't understand this. Why does it work like that?</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 a = '2018-03-07T00:00+03:00';
  console.log(a);
  console.log(new Date(a).toString());
  var b = '2018-04-07T00:00+03:00';
  console.log(b);
  console.log(new Date(b).toString());</code></pre>
  </div>
  </div>
  </p>
  
  <p>Here's a screenshot from Google Chrome browser:</p>
  
  <p><a href="https://i.stack.imgur.com/ae3hh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ae3hh.png" alt="screenshot from Google Chrome browser"></a></p>