title: new Date() is working in Chrome but not Firefox
body: <p>I am creating a datetime string that looks like this:  <code>2010-07-15 11:54:21</code></p>
  
  <p>And with the following code I get invalid date in Firefox but works just fine in Chrome</p>
  
  <pre><code>var todayDateTime = year + '-' + month + '-' + day + ' ' + hour + ':' + minute + ':' + seconds;
  var date1 = new Date(todayDateTime);
  </code></pre>
  
  <p>In firefox date1 is giving me an invalid date, but in chrome its working just fine what would the main cause be?</p>