timrwood/moment — Issue #196: Fail test 31. zone
Author: Alexis-D
Created: 2012-03-08 08:14:23+00:00
State: open

Hi,

I ran the test suite and the 31st (zone) failed, so I figure that you want to know ;)

Error message with Fx (Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2)
````zone 2 passed,1 failed.

When the zone() offset is equal to 0, the ISO offset should be positive zero

AssertionError: When the zone() offset is equal to 0, the ISO offset should be positive zero

moment.fn.zone should be a multiple of 30 (was 0)
zone should equal getTimezoneOffset````

And with Chromium (Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.4 (KHTML, like Gecko) Chrome/16.0.885.0 Safari/535.4)
```zone 2 passed,1 failed.
When the zone() offset is equal to 0, the ISO offset should be positive zero
AssertionError: When the zone() offset is equal to 0, the ISO offset should be positive zero
at Object.ok (http://momentjs.com/js/tests.js?_=120203_183019:1526:39)
at http://momentjs.com/js/tests.js?_=120203_183019:2464:18
at Object.runTest (http://momentjs.com/js/tests.js?_=120203_183019:1702:9)
at http://momentjs.com/js/tests.js?_=120203_183019:1748:25
at http://momentjs.com/js/tests.js?_=120203_183019:1006:13
at http://momentjs.com/js/tests.js?_=120203_183019:616:13
at http://momentjs.com/js/tests.js?_=120203_183019:627:25
at http://momentjs.com/js/tests.js?_=120203_183019:1008:17
at http://momentjs.com/js/tests.js?_=120203_183019:1589:17
moment.fn.zone should be a multiple of 30 (was 0)
zone should equal getTimezoneOffset```

My timezone is the one of Dublin (so UTC --unless I'm mistaken--).

I hope this help.