title: Date issue in Firefox
body: <p>I want to parse date in my page to Javascript's <code>Date</code>.</p>
  
  <p>So I have this in my page</p>
  
  <pre><code>&lt;span&gt;01-07-2012 01:04 PM&lt;/span&gt;
  </code></pre>
  
  <p>And I have Javascript code that parses this value to date</p>
  
  <pre><code>var tagText = $(this).html();
  var givenDate = new Date(tagText);
  alert(givenDate);
  </code></pre>
  
  <p>And here is what I get in different browsers</p>
  
  <p><strong>IE:</strong></p>
  
  <blockquote>
    <p>Sat Jan 7 13:04:00 UTC+0400 2012</p>
  </blockquote>
  
  <p><strong>Chrome:</strong></p>
  
  <blockquote>
    <p>Sat Jan 07 2012 13:04:00 GMT +0400 (Caucasus Standard Time)</p>
  </blockquote>
  
  <p><strong>Firefox:</strong></p>
  
  <blockquote>
    <p>Invalid Date</p>
  </blockquote>
  
  <p>Why Firefox doesn't recognize my date? What I must change to make it work with all major browsers?</p>
  
  <p>Here is jsfiddle <a href="http://jsfiddle.net/mgER5/1/" rel="nofollow">http://jsfiddle.net/mgER5/1/</a></p>