]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
fixing zone test for half hour offsets 1008/head
authorIsaac Cambron <icambron@gmail.com>
Mon, 19 Aug 2013 06:43:39 +0000 (02:13 -0430)
committerIsaac Cambron <icambron@gmail.com>
Mon, 19 Aug 2013 06:43:39 +0000 (02:13 -0430)
test/moment/zones.js

index 133de2e46bd0a91c1ea4b048693734a17ea6fa6a..f6b2f3d101430f837ca9754783f88c410819167e 100644 (file)
@@ -297,7 +297,7 @@ exports.zones = {
     },
 
     "same / before / after" : function (test) {
-        var zoneA = moment(),
+        var zoneA = moment().utc(),
             zoneB = moment(zoneA).zone(120),
             zoneC = moment(zoneA).zone(-120);