]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
Ar-KW Test Updated
authorNusret Parlak <nusretparlak@hotmail.com>
Fri, 3 Mar 2017 11:54:40 +0000 (13:54 +0200)
committerIskren Chernev <iskren.chernev@gmail.com>
Sat, 11 Mar 2017 22:53:53 +0000 (00:53 +0200)
Ar-KW Test Updated

src/test/locale/ar-kw.js

index 797e9e0321fac310efa1a301009b263a254d0a31..46226e8e0542cbc5e643b766a5b2009a40156948 100644 (file)
@@ -202,8 +202,8 @@ test('calendar all else', function (assert) {
 
 test('weeks year starting sunday formatted', function (assert) {
     assert.equal(moment([2011, 11, 31]).format('w ww wo'), '1 01 1', 'Dec 31 2011 should be week 1');
-    assert.equal(moment([2012,  0,  1]).format('w ww wo'), '1 01 1', 'Jan  1 2012 should be week 1');
-    assert.equal(moment([2012,  0,  8]).format('w ww wo'), '2 02 2', 'Jan  8 2012 should be week 2');
-    assert.equal(moment([2012,  0, 14]).format('w ww wo'), '2 02 2', 'Jan 14 2012 should be week 2');
-    assert.equal(moment([2012,  0, 15]).format('w ww wo'), '3 03 3', 'Jan 15 2012 should be week 3');
+    assert.equal(moment([2012,  0,  1]).format('w ww wo'), '2 02 2', 'Jan  1 2012 should be week 2');
+    assert.equal(moment([2012,  0,  8]).format('w ww wo'), '3 03 3', 'Jan  8 2012 should be week 3');
+    assert.equal(moment([2012,  0, 14]).format('w ww wo'), '3 03 3', 'Jan 14 2012 should be week 3');
+    assert.equal(moment([2012,  0, 15]).format('w ww wo'), '4 04 4', 'Jan 15 2012 should be week 4');
 });