@@ -111,6 +111,11 @@ describe('Get Local Month Short Names', () => {
111111 expect ( getLocalMonthShortNames ( 'fr' ) ) . toEqual ( names )
112112 } )
113113
114+ it ( 'Arabic' , ( ) => {
115+ const names = [ 'ينا.' , 'فبر.' , 'مارس.' , 'أبر.' , 'مايو.' , 'يون.' , 'يول.' , 'أغس.' , 'سبت.' , 'أكت.' , 'نوف.' , 'ديس.' ]
116+ expect ( getLocalMonthShortNames ( 'ar' ) ) . toEqual ( names )
117+ } )
118+
114119 it ( 'Spanish' , ( ) => {
115120 const names = [ 'ene' , 'feb' , 'mar' , 'abr' , 'may' , 'jun' , 'jul' , 'ago' , 'sept' , 'oct' , 'nov' , 'dic' ]
116121 expect ( getLocalMonthShortNames ( 'es' ) ) . toEqual ( names )
@@ -157,6 +162,24 @@ describe('Get Local Month Names', () => {
157162 expect ( getLocalMonthNames ( 'fr' ) ) . toEqual ( names )
158163 } )
159164
165+ it ( 'Arabic' , ( ) => {
166+ const names = [
167+ 'يناير' ,
168+ 'فبراير' ,
169+ 'مارس' ,
170+ 'أبريل' ,
171+ 'مايو' ,
172+ 'يونيو' ,
173+ 'يوليو' ,
174+ 'أغسطس' ,
175+ 'سبتمبر' ,
176+ 'أكتوبر' ,
177+ 'نوفمبر' ,
178+ 'ديسمبر' ,
179+ ]
180+ expect ( getLocalMonthNames ( 'ar' ) ) . toEqual ( names )
181+ } )
182+
160183 it ( 'Spanish' , ( ) => {
161184 const names = [
162185 'enero' ,
@@ -197,6 +220,11 @@ describe('Get Local Week Names', () => {
197220 expect ( getLocalWeekNames ( 'fr' ) ) . toEqual ( names )
198221 } )
199222
223+ it ( 'Arabic' , ( ) => {
224+ const names = [ 'ح' , 'إ' , 'ث' , 'أ' , 'خ' , 'ج' , 'س' ]
225+ expect ( getLocalWeekNames ( 'ar' ) ) . toEqual ( names )
226+ } )
227+
200228 it ( 'Traditional Chinese' , ( ) => {
201229 const names = [ '日' , '一' , '二' , '三' , '四' , '五' , '六' ]
202230 expect ( getLocalWeekNames ( 'zh-TW' ) ) . toEqual ( names )
0 commit comments