73 lines
2.1 KiB
JavaScript
Vendored
73 lines
2.1 KiB
JavaScript
Vendored
(function (global, factory) {
|
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
|
(global = global || self, factory(global.th = {}));
|
|
}(this, function (exports) { 'use strict';
|
|
|
|
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
|
|
? window.flatpickr
|
|
: {
|
|
l10ns: {}
|
|
};
|
|
var Thai = {
|
|
weekdays: {
|
|
shorthand: ["อา", "จ", "อ", "พ", "พฤ", "ศ", "ส"],
|
|
longhand: [
|
|
"อาทิตย์",
|
|
"จันทร์",
|
|
"อังคาร",
|
|
"พุธ",
|
|
"พฤหัสบดี",
|
|
"ศุกร์",
|
|
"เสาร์",
|
|
]
|
|
},
|
|
months: {
|
|
shorthand: [
|
|
"ม.ค.",
|
|
"ก.พ.",
|
|
"มี.ค.",
|
|
"เม.ย.",
|
|
"พ.ค.",
|
|
"มิ.ย.",
|
|
"ก.ค.",
|
|
"ส.ค.",
|
|
"ก.ย.",
|
|
"ต.ค.",
|
|
"พ.ย.",
|
|
"ธ.ค.",
|
|
],
|
|
longhand: [
|
|
"มกราคม",
|
|
"กุมภาพันธ์",
|
|
"มีนาคม",
|
|
"เมษายน",
|
|
"พฤษภาคม",
|
|
"มิถุนายน",
|
|
"กรกฎาคม",
|
|
"สิงหาคม",
|
|
"กันยายน",
|
|
"ตุลาคม",
|
|
"พฤศจิกายน",
|
|
"ธันวาคม",
|
|
]
|
|
},
|
|
firstDayOfWeek: 1,
|
|
rangeSeparator: " ถึง ",
|
|
scrollTitle: "เลื่อนเพื่อเพิ่มหรือลด",
|
|
toggleTitle: "คลิกเพื่อเปลี่ยน",
|
|
time_24hr: true,
|
|
ordinal: function () {
|
|
return "";
|
|
}
|
|
};
|
|
fp.l10ns.th = Thai;
|
|
var th = fp.l10ns;
|
|
|
|
exports.Thai = Thai;
|
|
exports.default = th;
|
|
|
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
|
}));
|