|
/* Thai initialisation for the jQuery UI date picker plugin. */ |
|
/* Written by pipo (pipo@sixhead.com). */ |
|
jQuery(function($){ |
|
$.datepicker.regional['th'] = {clearText: 'ลบ', clearStatus: '', |
|
closeText: 'ปิด', closeStatus: '', |
|
prevText: '« ย้อน', prevStatus: '', |
|
nextText: 'ถัดไป »', nextStatus: '', |
|
currentText: 'วันนี้', currentStatus: '', |
|
monthNames: ['มกราคม','กุมภาพันธ์','มีนาคม','เมษายน','พฤษภาคม','มิถุนายน', |
|
'กรกฏาคม','สิงหาคม','กันยายน','ตุลาคม','พฤศจิกายน','ธันวาคม'], |
|
monthNamesShort: ['ม.ค.','ก.พ.','มี.ค.','เม.ย.','พ.ค.','มิ.ย.', |
|
'ก.ค.','ส.ค.','ก.ย.','ต.ค.','พ.ย.','ธ.ค.'], |
|
monthStatus: '', yearStatus: '', |
|
weekHeader: 'Sm', weekStatus: '', |
|
dayNames: ['อาทิตย์','จันทร์','อังคาร','พุธ','พฤหัสบดี','ศุกร์','เสาร์'], |
|
dayNamesShort: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'], |
|
dayNamesMin: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'], |
|
dayStatus: 'DD', dateStatus: 'D, M d', |
|
dateFormat: 'dd/mm/yy', firstDay: 0, |
|
initStatus: '', isRTL: false}; |
|
$.datepicker.setDefaults($.datepicker.regional['th']); |
|
}); |