@@ -66,7 +66,7 @@ describe('MomentDateAdapter', () => {
66
66
] ) ;
67
67
} ) ;
68
68
69
- it ( 'should get long month names' , ( ) => {
69
+ it ( 'should get short month names' , ( ) => {
70
70
expect ( adapter . getMonthNames ( 'short' ) ) . toEqual ( [
71
71
'Jan' , 'Feb' , 'Mar' , 'Apr' , 'May' , 'Jun' , 'Jul' , 'Aug' , 'Sep' , 'Oct' , 'Nov' , 'Dec'
72
72
] ) ;
@@ -93,10 +93,10 @@ describe('MomentDateAdapter', () => {
93
93
} ) ;
94
94
95
95
it ( 'should get date names in a different locale' , ( ) => {
96
- adapter . setLocale ( 'ja-JP ' ) ;
96
+ adapter . setLocale ( 'ar-AE ' ) ;
97
97
expect ( adapter . getDateNames ( ) ) . toEqual ( [
98
- '1 ' , '2 ' , '3 ' , '4 ' , '5 ' , '6 ' , '7 ' , '8 ' , '9 ' , '10 ' , '11 ' , '12 ' , '13 ' , '14 ' , '15 ' , '16' , '17 ',
99
- '18 ' , '19 ' , '20 ' , '21 ' , '22 ' , '23 ' , '24 ' , '25 ' , '26 ' , '27 ' , '28 ' , '29 ' , '30 ' , '31 '
98
+ '١ ' , '٢ ' , '٣ ' , '٤ ' , '٥ ' , '٦ ' , '٧ ' , '٨ ' , '٩ ' , '١٠ ' , '١١ ' , '١٢ ' , '١٣ ' , '١٤ ' , '١٥ ' , '١٦ ' ,
99
+ '١٧ ' , '١٨ ' , '١٩ ' , '٢٠ ' , '٢١ ' , '٢٢ ' , '٢٣ ' , '٢٤ ' , '٢٥ ' , '٢٦ ' , '٢٧ ' , '٢٨ ' , '٢٩ ' , '٣٠' , '٣١ '
100
100
] ) ;
101
101
} ) ;
102
102
@@ -130,8 +130,8 @@ describe('MomentDateAdapter', () => {
130
130
} ) ;
131
131
132
132
it ( 'should get year name in a different locale' , ( ) => {
133
- adapter . setLocale ( 'ja-JP ' ) ;
134
- expect ( adapter . getYearName ( moment ( [ 2017 , JAN , 1 ] ) ) ) . toBe ( '2017 ' ) ;
133
+ adapter . setLocale ( 'ar-AE ' ) ;
134
+ expect ( adapter . getYearName ( moment ( [ 2017 , JAN , 1 ] ) ) ) . toBe ( '٢٠١٧ ' ) ;
135
135
} ) ;
136
136
137
137
it ( 'should get first day of week' , ( ) => {
0 commit comments