Skip to content
Permalink
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:
http://unicode.org/repos/cldr-tmp/trunk/diff/summary/ar.html
(cherry picked from commit 8f42ab0)
  • Loading branch information
amire80 authored and scottgonzalez committed Jun 1, 2012
1 parent bc4cb27 commit d0acccf3cc53a7759db4798c2998029586b032a3
Showing with 1 addition and 1 deletion.
  1. +1 −1 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,

0 comments on commit d0acccf

Please sign in to comment.