title: new Date returning invalid Date safari
body: <p>Hope all of you are doing fine. I stumbled across a problem in <strong>SAFARI</strong>. If I have a date like this </p>
  
  <p><code>2016-05-31T10:00:00</code> </p>
  
  <p>and apply this function to the date </p>
  
  <p><code>new Date(2016-05-31T10:00:00)</code> </p>
  
  <p>it returns me a proper result </p>
  
  <p><code>Thu Mar 31 2016 10:00:00 GMT+0500 (PKT)</code></p>
  
  <p>but if I add timezone offset to my date </p>
  
  <p><code>2016-05-31T10:00:00-0400</code></p>
  
  <p>and then apply the <code>new Date</code> function on it, it starts throwing an <code>invalid date</code> error. Can somebody tell me why is this happening and whats the way to resolve this problem</p>