title: jQuery.datepicker.formatDate and timezone offset
body: <p>To handle dates, i'm using a jQuery UI <code>public</code> method in my application: jQuery.datepicker.formatDate
  See params &amp; source here : <a href="https://github.com/jquery/jquery-ui/blob/master/ui/jquery.ui.datepicker.js" rel="nofollow">https://github.com/jquery/jquery-ui/blob/master/ui/jquery.ui.datepicker.js</a></p>
  
  <p>However the wrong date is displayed sometimes, according to the computer timezone.</p>
  
  <p>Demo here : <a href="http://jsfiddle.net/7ACdB/" rel="nofollow">http://jsfiddle.net/7ACdB/</a></p>
  
  <p>With a UTC+1 (paris) timezone in windows, i got :</p>
  
  <pre><code>03/30/20
  03/30/20
  </code></pre>
  
  <p>With a UTC-6 (us&amp;canada) timezone in windows, i got :</p>
  
  <pre><code>03/29/20 &lt;- meh!
  03/30/20
  </code></pre>
  
  <p>You need to restart your browser (well for google chrome at least) when you change the OS timezone.</p>
  
  <p>My problem is the "03/29/20" date as you can imagine.</p>
  
  <p>Can somebody explains to me if this is normal or a jquery ui issue ?</p>
  
  <p>I'm beginning to think that it is normal to see a "Mon Mar 30 2020 00:00:00 GMT+0200 (Romance Daylight Time)" as 03/29/20 in a US timezone but i'm not so sure. :-/</p>