Skip to content
Browse files

Datepicker: Changed Arabic dayNamesMin to one-letter strings. Fixes #…

…8375 - Datepicker: Incorrect dayNamesMin for Arabic locale.

Before this change the minimal names for days of week were the same
as the long names. This caused the datepicker to be too wide.

The one-letter strings come from the CLDR:
  • Loading branch information...
1 parent 2da2ae5 commit 8f42ab013469865ae790089717a56b6ca774dc75 @amire80 amire80 committed with scottgonzalez Jun 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/i18n/jquery.ui.datepicker-ar.js
2 ui/i18n/jquery.ui.datepicker-ar.js
@@ -12,7 +12,7 @@ jQuery(function($){
monthNamesShort: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
dayNames: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
dayNamesShort: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
- dayNamesMin: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
+ dayNamesMin: ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
weekHeader: 'أسبوع',
dateFormat: 'dd/mm/yy',
firstDay: 6,

2 comments on commit 8f42ab0

jQuery Foundation member
Krinkle commented on 8f42ab0 Jun 2, 2012

This added 1 failed test in IE6:

Could be a race condition but worth checking out. All commits before this one didn't have the failure.

jQuery Foundation member

This change and the accordion failure are completely unrelated.

Please sign in to comment.
Something went wrong with that request. Please try again.