From f39139e65f30341439abac7b15688d6be6e825a2 Mon Sep 17 00:00:00 2001 From: Isaac Cambron Date: Mon, 19 Aug 2013 20:12:25 +1300 Subject: [PATCH] move test to avoid pacific-apia DST weirdness --- test/moment/diff.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/moment/diff.js b/test/moment/diff.js index 739e7fae4..19217bb39 100644 --- a/test/moment/diff.js +++ b/test/moment/diff.js @@ -170,7 +170,7 @@ exports.diff = { "diff between utc and local" : function (test) { test.expect(7); - test.equal(moment([2011]).utc().diff([2010], 'years'), 1, "year diff"); + test.equal(moment([2012]).utc().diff([2011], 'years'), 1, "year diff"); test.equal(moment([2010, 2, 2]).utc().diff([2010, 0, 2], 'months'), 2, "month diff"); test.equal(moment([2010, 0, 4]).utc().diff([2010], 'days'), 3, "day diff"); test.equal(moment([2010, 0, 22]).utc().diff([2010], 'weeks'), 3, "week diff"); -- 2.47.2