Files
hrm_eva/wwwroot/lib/jquery.calendars/js/jquery.calendars-ur.js
2020-08-11 16:13:02 +07:00

27 lines
1.2 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* http://keith-wood.name/calendars.html
Urdu localisation for Gregorian/Julian calendars for jQuery.
Mansoor Munib -- mansoormunib@gmail.com <http://www.mansoor.co.nr/mansoor.html>
Thanks to Habib Ahmed, ObaidUllah Anwar. */
(function($) {
'use strict';
$.calendars.calendars.gregorian.prototype.regionalOptions.ur = {
name: 'Gregorian',
epochs: ['BCE', 'CE'],
monthNames: ['جنوری','فروری','مارچ','اپریل','مئی','جون',
'جولائی','اگست','ستمبر','اکتوبر','نومبر','دسمبر'],
monthNamesShort: ['1','2','3','4','5','6',
'7','8','9','10','11','12'],
dayNames: ['اتوار','پير','منگل','بدھ','جمعرات','جمعہ','ہفتہ'],
dayNamesShort: ['اتوار','پير','منگل','بدھ','جمعرات','جمعہ','ہفتہ'],
dayNamesMin: ['اتوار','پير','منگل','بدھ','جمعرات','جمعہ','ہفتہ'],
digits: $.calendars.substituteDigits(['٠', '١', '٢', '٣', '۴', '۵', '۶', '۷', '٨', '٩']),
dateFormat: 'dd/mm/yyyy',
firstDay: 0,
isRTL: true
};
if ($.calendars.calendars.julian) {
$.calendars.calendars.julian.prototype.regionalOptions.ur =
$.calendars.calendars.gregorian.prototype.regionalOptions.ur;
}
})(jQuery);