รวม code แก้ไข OP 3138, 3141, 2736, 2654
This commit is contained in:
25
wwwroot/lib/jquery.calendars/js/jquery.calendars-ar-EG.js
Normal file
25
wwwroot/lib/jquery.calendars/js/jquery.calendars-ar-EG.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/* http://keith-wood.name/calendars.html
|
||||
Arabic localisation for Gregorian/Julian calendars for jQuery.
|
||||
Mahmoud Khaled -- mahmoud.khaled@badrit.com
|
||||
NOTE: monthNames are the new months names */
|
||||
(function($) {
|
||||
'use strict';
|
||||
$.calendars.calendars.gregorian.prototype.regionalOptions['ar-EG'] = {
|
||||
name: 'Gregorian',
|
||||
epochs: ['BCE', 'CE'],
|
||||
monthNames: ['يناير', 'فبراير', 'مارس', 'إبريل', 'مايو', 'يونية',
|
||||
'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'],
|
||||
monthNamesShort: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
|
||||
dayNames: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
|
||||
dayNamesShort: ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'],
|
||||
dayNamesMin: ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'],
|
||||
digits: null,
|
||||
dateFormat: 'dd/mm/yyyy',
|
||||
firstDay: 6,
|
||||
isRTL: true
|
||||
};
|
||||
if ($.calendars.calendars.julian) {
|
||||
$.calendars.calendars.julian.prototype.regionalOptions['ar-EG'] =
|
||||
$.calendars.calendars.gregorian.prototype.regionalOptions['ar-EG'];
|
||||
}
|
||||
})(jQuery);
|
||||
Reference in New Issue
Block a user