26 lines
1.5 KiB
JavaScript
26 lines
1.5 KiB
JavaScript
/* http://keith-wood.name/calendars.html
|
|
Khmer initialisation for Gregorian/Julian calendars for jQuery.
|
|
Written by Sovichet Tep (sovichet.tep@gmail.com). */
|
|
(function($) {
|
|
'use strict';
|
|
$.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);
|