forked from kbwood/calendars
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjquery.calendars-ms.js
24 lines (24 loc) · 983 Bytes
/
jquery.calendars-ms.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* http://keith-wood.name/calendars.html
Malaysian localisation for Gregorian/Julian calendars for jQuery.
Written by Mohd Nawawi Mohamad Jamili (nawawi@ronggeng.net). */
(function($) {
$.calendars.calendars.gregorian.prototype.regionalOptions['ms'] = {
name: 'Gregorian',
epochs: ['BCE', 'CE'],
monthNames: ['Januari','Februari','Mac','April','Mei','Jun',
'Julai','Ogos','September','Oktober','November','Disember'],
monthNamesShort: ['Jan','Feb','Mac','Apr','Mei','Jun',
'Jul','Ogo','Sep','Okt','Nov','Dis'],
dayNames: ['Ahad','Isnin','Selasa','Rabu','Khamis','Jumaat','Sabtu'],
dayNamesShort: ['Aha','Isn','Sel','Rab','Kha','Jum','Sab'],
dayNamesMin: ['Ah','Is','Se','Ra','Kh','Ju','Sa'],
digits: null,
dateFormat: 'dd/mm/yyyy',
firstDay: 0,
isRTL: false
};
if ($.calendars.calendars.julian) {
$.calendars.calendars.julian.prototype.regionalOptions['ms'] =
$.calendars.calendars.gregorian.prototype.regionalOptions['ms'];
}
})(jQuery);