forked from kbwood/calendars
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jquery.calendars-km.js
24 lines (24 loc) · 1.52 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
24
/* http://keith-wood.name/calendars.html
Khmer initialisation for Gregorian/Julian calendars for jQuery.
Written by Sovichet Tep ([email protected]). */
(function($) {
$.calendars.calendars.gregorian.prototype.regionalOptions['km'] = {
name: 'Gregorian',
epochs: ['BCE', 'CE'],
monthNames: ['ខែមករា','ខែកុម្ភៈ','ខែមិនា','ខែមេសា','ខែឧសភា','ខែមិថុនា',
'ខែកក្កដា','ខែសីហា','ខែកញ្ញា','ខែតុលា','ខែវិច្ឆិកា','ខែធ្នូ'],
monthNamesShort: ['មក', 'កុ', 'មិនា', 'មេ', 'ឧស', 'មិថុ',
'កក្ក', 'សី', 'កញ្ញា', 'តុលា', 'វិច្ឆិ', 'ធ្នូ'],
dayNames: ['ថ្ងៃអាទិត្យ', 'ថ្ងៃចន្ទ', 'ថ្ងៃអង្គារ', 'ថ្ងៃពុធ', 'ថ្ងៃព្រហស្បត្តិ៍', 'ថ្ងៃសុក្រ', 'ថ្ងៃសៅរ៍'],
dayNamesShort: ['អា', 'ចន្ទ', 'អង្គ', 'ពុធ', 'ព្រហ', 'សុ', 'សៅរ៍'],
dayNamesMin: ['អា','ច','អ','ពុ','ព្រ','សុ','ស'],
digits: null,
dateFormat: 'dd/mm/yyyy',
firstDay: 1,
isRTL: false
};
if ($.calendars.calendars.julian) {
$.calendars.calendars.julian.prototype.regionalOptions['km'] =
$.calendars.calendars.gregorian.prototype.regionalOptions['km'];
}
})(jQuery);