forked from kbwood/calendars
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jquery.calendars-km.js
23 lines (23 loc) · 1.48 KB
/
jquery.calendars-km.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* http://keith-wood.name/calendars.html
Khmer initialisation for Gregorian/Julian calendars for jQuery.
Written by Sovichet Tep (sovichet.tep@gmail.com). */
(function($) {
$.calendars.calendars.gregorian.prototype.regional['km'] = {
name: 'Gregorian',
epochs: ['BCE', 'CE'],
monthNames: ['ខែមករា','ខែកុម្ភៈ','ខែមិនា','ខែមេសា','ខែឧសភា','ខែមិថុនា',
'ខែកក្កដា','ខែសីហា','ខែកញ្ញា','ខែតុលា','ខែវិច្ឆិកា','ខែធ្នូ'],
monthNamesShort: ['មក', 'កុ', 'មិនា', 'មេ', 'ឧស', 'មិថុ',
'កក្ក', 'សី', 'កញ្ញា', 'តុលា', 'វិច្ឆិ', 'ធ្នូ'],
dayNames: ['ថ្ងៃអាទិត្យ', 'ថ្ងៃចន្ទ', 'ថ្ងៃអង្គារ', 'ថ្ងៃពុធ', 'ថ្ងៃព្រហស្បត្តិ៍', 'ថ្ងៃសុក្រ', 'ថ្ងៃសៅរ៍'],
dayNamesShort: ['អា', 'ចន្ទ', 'អង្គ', 'ពុធ', 'ព្រហ', 'សុ', 'សៅរ៍'],
dayNamesMin: ['អា','ច','អ','ពុ','ព្រ','សុ','ស'],
dateFormat: 'dd/mm/yyyy',
firstDay: 1,
isRTL: false
};
if ($.calendars.calendars.julian) {
$.calendars.calendars.julian.prototype.regional['km'] =
$.calendars.calendars.gregorian.prototype.regional['km'];
}
})(jQuery);