title: MomentJS - Intended for input validation?
body: <p>Is MomentJS intended for user input parsing?</p>
  
  <p>I've got moderately close with the easy cases, having it accept dates in the DDMMYYYY order, and it handles some variation.</p>
  
  <p>It doesn't handle invalid dates particularly well when specifying the format - Including having day values too high, or switching year values between 2 and 4 digit.</p>
  
  <p>Examples of year interpretation:</p>
  
  <pre><code>var date1 = moment('30082012', 'DDMMYYYY');
  var date2 = moment('30082012', 'DDMMYY'); // Gives wrong year - 2020
  var date3 = moment('300812', 'DDMMYYYY'); // Gives wrong year - 1900
  var date4 = moment('300812', 'DDMMYY');
  </code></pre>
  
  <p>Examples of what would hopefully be invalid dates:</p>
  
  <pre><code>var date5 = moment('08302012', 'DDMMYYYY'); // Gives Jun 08 2014
  var date6 = moment('08302012', 'DDMMYY'); // Gives Jun 08 2022
  var date7 = moment('083012', 'DDMMYYYY'); // Gives Jun 08 1902
  var date8 = moment('083012', 'DDMMYY'); // Jun 08 2014
  </code></pre>
  
  <p>I have created a JS Fiddle with these examples: <a href="http://jsfiddle.net/cHRfg/2/" rel="noreferrer">http://jsfiddle.net/cHRfg/2/</a></p>
  
  <p>Is there a way to have moment accept a wider array of user input, and reject invalid dates? Or is the library not intended for this?</p>