รวม code แก้ไข OP 3138, 3141, 2736, 2654
This commit is contained in:
25
wwwroot/lib/jquery.calendars/js/jquery.calendars-th.js
Normal file
25
wwwroot/lib/jquery.calendars/js/jquery.calendars-th.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/* http://keith-wood.name/calendars.html
|
||||
Thai localisation for Gregorian/Julian calendars for jQuery.
|
||||
Written by pipo (pipo@sixhead.com). */
|
||||
(function($) {
|
||||
'use strict';
|
||||
$.calendars.calendars.gregorian.prototype.regionalOptions.th = {
|
||||
name: 'Gregorian',
|
||||
epochs: ['BCE', 'CE'],
|
||||
monthNames: ['มกราคม','กุมภาพันธ์','มีนาคม','เมษายน','พฤษภาคม','มิถุนายน',
|
||||
'กรกฎาคม','สิงหาคม','กันยายน','ตุลาคม','พฤศจิกายน','ธันวาคม'],
|
||||
monthNamesShort: ['ม.ค.','ก.พ.','มี.ค.','เม.ย.','พ.ค.','มิ.ย.',
|
||||
'ก.ค.','ส.ค.','ก.ย.','ต.ค.','พ.ย.','ธ.ค.'],
|
||||
dayNames: ['อาทิตย์','จันทร์','อังคาร','พุธ','พฤหัสบดี','ศุกร์','เสาร์'],
|
||||
dayNamesShort: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'],
|
||||
dayNamesMin: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'],
|
||||
digits: null,
|
||||
dateFormat: 'dd/mm/yyyy',
|
||||
firstDay: 0,
|
||||
isRTL: false
|
||||
};
|
||||
if ($.calendars.calendars.julian) {
|
||||
$.calendars.calendars.julian.prototype.regionalOptions.th =
|
||||
$.calendars.calendars.gregorian.prototype.regionalOptions.th;
|
||||
}
|
||||
})(jQuery);
|
||||
Reference in New Issue
Block a user