title: What format for dates does jQuery.ajax() expect JSON datatype
body: <p>Strange that I can't find an answer to this one...</p>
  
  <p>Simply, what date format (if any) will a call using <a href="http://api.jquery.com/jquery.ajax/" rel="nofollow noreferrer">jQuery.ajax()</a> deserialize properties into javascript dates?</p>
  
  <p>ISO 8601 doesn't seem to work. The following: <code>2015-10-21T23:44:21.292Z</code> and <code>2015-10-21T23:44:21Z</code> both fail.</p>
  
  <pre><code>$.ajax({
    url: '/trees/leopardTree-01',
    dataType: 'json',
    success: function (tree) {
      if (tree.PlantingDate instanceof Date) {
        //YAY I know when my tree was planted
      }
    }
  });
  </code></pre>
  
  <p>I want to know when my tree was planted.</p>
  
  <p><strong>Update on duplicate</strong></p>
  
  <p>It's not quite the same question as <a href="https://stackoverflow.com/questions/10286204/the-right-json-date-format">The “right” JSON date format</a>. Although that question is informative, if a little philisophical (e.g. what is the right colour for a flower to be?). I'm interested in a solution to automatically parse a string into a datetime object, using a framework, in this case jQuery. This could be via a custom formatter as per @Neverever's comment (e.g. pick me only blue flowers). I'm surprised jQuery doesn't offer this sort of thing as an option.</p>