]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
update ko.js weekly ordering test
authorFourwingsY <fourwingsy@gmail.com>
Thu, 3 Aug 2017 14:53:24 +0000 (23:53 +0900)
committerIskren Chernev <iskren.chernev@gmail.com>
Wed, 9 Aug 2017 12:03:01 +0000 (15:03 +0300)
src/test/locale/ko.js

index 25e331f3f8c6fa370d2c89ceb306a87520da3686..f6fa005a6ddc94543c8cec40937a12ab069a08c6 100644 (file)
@@ -64,7 +64,7 @@ test('format', function (assert) {
             ['D Do DD',                            '14 14일 14'],
             ['d do dddd ddd dd',                   '0 0일 일요일 일 일'],
             ['DDD DDDo DDDD',                      '45 45일 045'],
-            ['w wo ww',                            '8 8ì\9d¼ 08'],
+            ['w wo ww',                            '8 8주 08'],
             ['h hh',                               '3 03'],
             ['H HH',                               '15 15'],
             ['m mm',                               '25 25'],
@@ -235,10 +235,10 @@ test('calendar all else', function (assert) {
 });
 
 test('weeks year starting sunday format', function (assert) {
-    assert.equal(moment([2012, 0,  1]).format('w ww wo'), '1 01 1ì\9d¼', 'Jan  1 2012 should be week 1');
-    assert.equal(moment([2012, 0,  7]).format('w ww wo'), '1 01 1ì\9d¼', 'Jan  7 2012 should be week 1');
-    assert.equal(moment([2012, 0,  8]).format('w ww wo'), '2 02 2ì\9d¼', 'Jan  8 2012 should be week 2');
-    assert.equal(moment([2012, 0, 14]).format('w ww wo'), '2 02 2ì\9d¼', 'Jan 14 2012 should be week 2');
-    assert.equal(moment([2012, 0, 15]).format('w ww wo'), '3 03 3ì\9d¼', 'Jan 15 2012 should be week 3');
+    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,  7]).format('w ww wo'), '1 01 1주', 'Jan  7 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');
 });