title: javascript error in converting date to long format
body: <p>I have the following date which i convert to a long format. This works fine in chrome but i get an error when i work with firefox. The date object says invalid date. What is wrong with the below code when it just works fine on chrome?</p>
  
  <pre><code>startdate= "2013-08-23 14:59"
  alert(startdate);
  startdate = new Date(startdate);
  alert(startdate);     //Invalid date
  startdate = startdate.getTime();
  alert(startdate);     //NAN
  </code></pre>
  
  <p><a href="http://jsfiddle.net/hulk_hulk/kvtW3/" rel="nofollow">http://jsfiddle.net/hulk_hulk/kvtW3/</a></p>