UNPKG

core-resource-app-test

Version:

App that contains assets and scripts for the core apps

24 lines (23 loc) 1.31 kB
/* http://keith-wood.name/calendars.html Thai localisation for Gregorian/Julian calendars for jQuery. Written by pipo (pipo@sixhead.com). */ (function($) { $.calendars.calendars.gregorian.prototype.regional['th'] = { name: 'Gregorian', epochs: ['BCE', 'CE'], monthNames: ['มกราคม','กุมภาพันธ์','มีนาคม','เมษายน','พฤษภาคม','มิถุนายน', 'กรกฎาคม','สิงหาคม','กันยายน','ตุลาคม','พฤศจิกายน','ธันวาคม'], monthNamesShort: ['ม.ค.','ก.พ.','มี.ค.','เม.ย.','พ.ค.','มิ.ย.', 'ก.ค.','ส.ค.','ก.ย.','ต.ค.','พ.ย.','ธ.ค.'], dayNames: ['อาทิตย์','จันทร์','อังคาร','พุธ','พฤหัสบดี','ศุกร์','เสาร์'], dayNamesShort: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'], dayNamesMin: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'], dateFormat: 'dd/mm/yyyy', firstDay: 0, isRTL: false }; if ($.calendars.calendars.julian) { $.calendars.calendars.julian.prototype.regional['th'] = $.calendars.calendars.gregorian.prototype.regional['th']; } })(jQuery);