timrwood/moment — Issue #176: Error running tests from Ireland (without daylight savings time)
Author: gcsolaroli
Created: 2012-02-22 10:57:55+00:00
State: open

Running tests (http://momentjs.com/test/) today (February 22, 2012) from Ireland.

From a browser (Safari) JavaScript console I got these info:
> myDate = new Date();
Wed Feb 22 2012 10:56:06 GMT+0000 (GMT)
> timezone = myDate.getTimezoneOffset()
0

The output of the failing test is this:

zone 2 passed,1 failed.
When the zone() offset is equal to 0, the ISO offset should be positive zero
fail@http://momentjs.com/js/tests.js?_=120203_183019:1240,ok@http://momentjs.com/js/tests.js?_=120203_183019:1255,@http://momentjs.com/js/tests.js?_=120203_183019:1526,zone@http://momentjs.com/js/tests.js?_=120203_183019:2464,runTest@http://momentjs.com/js/tests.js?_=120203_183019:1702,@http://momentjs.com/js/tests.js?_=120203_183019:1748,@http://momentjs.com/js/tests.js?_=120203_183019:1009,iterate@http://momentjs.com/js/tests.js?_=120203_183019:630,@http://momentjs.com/js/tests.js?_=120203_183019:627,@http://momentjs.com/js/tests.js?_=120203_183019:1008,@http://momentjs.com/js/tests.js?_=120203_183019:1589,[native code]
moment.fn.zone should be a multiple of 30 (was 0)
zone should equal getTimezoneOffset