title: Why datepicker.parseDate is not working?
body: <p>According to <a href="http://docs.jquery.com/UI/Datepicker/parseDate" rel="nofollow">datepicker.parseDate reference</a>, this method accepts two parameters, a <em>format</em> and a <em>date</em> and try an exception if the *date not match the <em>format</em>. Perfect, but then, why <a href="http://jsfiddle.net/navi2000/t2nNJ/" rel="nofollow">this piece of code</a> is not working?</p>
  
  <pre><code>function isDate(value) {
      var isDate = false;
      try {
          var dateFormat = "yy";
          $.datepicker.parseDate(dateFormat, value);
          isDate = true;
      } catch (e) {}
      return isDate;
  }
  </code></pre>
  
  <p>EDIT: I've found a simpler example. This returns an "Invalid date" exception.</p>
  
  <pre><code>$.datepicker.parseDate('yy', '2010');
  </code></pre>