title: Inconsistent behavior of toLocaleString() in different browser
body: <p>I am working on a project where I have to deal a lot with Date and Time. Server side technology is ASP.Net and at client side I am using jQuery and jQuery Week Calendar(a jQuery plugin).</p>
  
  <p>So here is the problem described, I am receiving Data Time from server something like this <code>2012-11-13T04:45:00.00</code> in GMT format.</p>
  
  <p>Now at client side, I want this Date Time to be converted to Locale Date Time Format, like whatever is could be IST, EST, PKT, etc.</p>
  
  <p>To achieve this, I am using JavaScript method <code>toLocaleString()</code>. This only works fine in Chrome, in other browser it works inconsistently. </p>
  
  <p>Here are its outputs in different browsers:</p>
  
  <p><strong>Google Chrome(Works fine):</strong></p>
  
  <p>Call:</p>
  
  <pre><code>new Date ("2012-11-13T04:45:00.00").toLocaleString();
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>Tue Nov 13 2012 10:15:00 GMT+0530 (India Standard Time)
  </code></pre>
  
  <p><strong>Mozilla Firefox:</strong></p>
  
  <p>Call:</p>
  
  <pre><code>new Date ("2012-11-13T04:45:00.00").toLocaleString();
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>Tuesday, November 13, 2012 4:45:00 AM
  </code></pre>
  
  <p><strong>Safari:</strong></p>
  
  <p>Call:</p>
  
  <pre><code>new Date ("2012-11-13T04:45:00.00").toLocaleString();
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>Invalid Date
  </code></pre>
  
  <p><strong>Internet Explorer:</strong></p>
  
  <p>Call:</p>
  
  <pre><code>new Date ("2012-11-13T04:45:00.00").toLocaleString();
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>Tuesday, November 13, 2012 4:45:00 AM
  </code></pre>
  
  <p>For now these are the browsers where I tested.</p>
  
  <p>Here is the <strong>Question</strong>:</p>
  
  <p><strong>I need a way to convert Data Time(having format like this <code>2012-11-13T04:45:00.00</code>) To Locale Date and Time, no matter which browser client is using.</strong></p>