@@ -56,7 +56,7 @@ test('format', function (assert) {
5656 [ 'D Do DD' , '14 14 14' ] ,
5757 [ 'd do dddd ddd dd' , '0 0 الأحد احد ح' ] ,
5858 [ 'DDD DDDo DDDD' , '45 45 045' ] ,
59- [ 'w wo ww' , '8 8 08 ' ] ,
59+ [ 'w wo ww' , '6 6 06 ' ] ,
6060 [ 'h hh' , '3 03' ] ,
6161 [ 'H HH' , '15 15' ] ,
6262 [ 'm mm' , '25 25' ] ,
@@ -417,11 +417,11 @@ test('calendar all else', function (assert) {
417417 ) ;
418418} ) ;
419419
420- test ( 'weeks year starting sunday formatted' , function ( assert ) {
420+ test ( 'weeks year starting monday formatted' , function ( assert ) {
421421 assert . equal (
422422 moment ( [ 2011 , 11 , 31 ] ) . format ( 'w ww wo' ) ,
423- '1 01 1 ' ,
424- 'Dec 31 2011 should be week 1 '
423+ '52 52 52 ' ,
424+ 'Dec 31 2011 should be week 52 '
425425 ) ;
426426 assert . equal (
427427 moment ( [ 2012 , 0 , 6 ] ) . format ( 'w ww wo' ) ,
@@ -430,8 +430,8 @@ test('weeks year starting sunday formatted', function (assert) {
430430 ) ;
431431 assert . equal (
432432 moment ( [ 2012 , 0 , 7 ] ) . format ( 'w ww wo' ) ,
433- '2 02 2 ' ,
434- 'Jan 7 2012 should be week 2 '
433+ '1 01 1 ' ,
434+ 'Jan 7 2012 should be week 1 '
435435 ) ;
436436 assert . equal (
437437 moment ( [ 2012 , 0 , 13 ] ) . format ( 'w ww wo' ) ,
@@ -440,7 +440,7 @@ test('weeks year starting sunday formatted', function (assert) {
440440 ) ;
441441 assert . equal (
442442 moment ( [ 2012 , 0 , 14 ] ) . format ( 'w ww wo' ) ,
443- '3 03 3 ' ,
444- 'Jan 14 2012 should be week 3 '
443+ '2 02 2 ' ,
444+ 'Jan 14 2012 should be week 2 '
445445 ) ;
446446} ) ;
0 commit comments