รวม code แก้ไข OP 3138, 3141, 2736, 2654
This commit is contained in:
25
wwwroot/lib/jquery.calendars/js/jquery.calendars-km.js
Normal file
25
wwwroot/lib/jquery.calendars/js/jquery.calendars-km.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/* 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);
|
||||
Reference in New Issue
Block a user