title: Why does JavaScript Date.getTimezoneOffset() consider "-05:00" as a positive offset?
body: <p>I noticed that for us on Eastern Time zone ("America/New_York") with timezone offset of <strong>"-05:00"</strong> Date.getTimezoneOffset() returns a <strong>positive</strong> number of 300. I would expect offset in minutes to be negative in areas to the West from Utc, and to be positive in areas to the east of Utc, but apparently it's "flippded".  What's the reasoning behind that decision?</p>
  
  <p><a href="http://momentjs.com/">http://momentjs.com/</a> follows the same rule and returns...</p>
  
  <pre><code>moment.parseZone("01/13/2014 3:38:00 PM +01:00").zone()   // == -60
  moment.parseZone("01/13/2014 3:38:00 PM -01:00").zone()   // == 60
  </code></pre>
  
  <p>At the same time DateTimePicker <a href="http://trentrichardson.com/examples/timepicker/">http://trentrichardson.com/examples/timepicker/</a> does not flip numbers when setting its initial 'timezone' parameter. Is it wrong?</p>