title: Javascript date parsing on Iphone
body: <p>I'm working on an offline capabable Javascript site that targets mobile devices. One such mobile device is the IPhone.</p>
  
  <p>I'm trying to parse a date from our REST API (a member of JSON object). I'm using</p>
  
  <pre><code>Date.parse("2010-03-15 10:30:00");
  </code></pre>
  
  <p>This works on Android devices, however on IPhone it just gives an invalid date.</p>
  
  <p>How do I need to format my date string so it can be parsed by the IPhone?</p>