title: JS: Bug converting string to Date
body: <p>I am converting a Data Object to JSON and back with <code>JSON.stringify</code> and <code>JSON.parse</code>. </p>
  
  <p>This works great, on all devices but on <strong>Samsung Galaxy SII</strong> where for the line:</p>
  
  <pre><code>console.log(jsonObj.gebDat+"::"+new Date(jsonObj.gebDat));
  </code></pre>
  
  <p>I get the output:</p>
  
  <blockquote>
    <p>1973-07-01T10:49:25.134Z::Invalid Date</p>
  </blockquote>
  
  <p>I am implementing this exactly like at <a href="https://stackoverflow.com/a/11491993/386738">this answer</a>, and it works for most devices, am I doing something wrong??</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>to clarify the question. I create a String calling </p>
  
  <pre><code>var stringToSave = JSON.stringify({gebDat: dataclass.gebDat, &lt;here are some more variables&gt;});
  </code></pre>
  
  <p>then I save it. Later, I load the string and parse it with</p>
  
  <pre><code>var jsonObj = JSON.parse(stringToSave);
  </code></pre>
  
  <p>then, I try to set my date again (calling a log just before that line) with</p>
  
  <pre><code>console.log(jsonObj.gebDat+"::"+new Date(jsonObj.gebDat));
  this.gebDat = new Date(jsonObj.gebDat);
  </code></pre>
  
  <p>The log gives me the invalid date as shown above, and when I represent the Date it displays <code>NaN.NaN.NaN</code> instead of the expected <code>01.07.1973</code></p>