mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-04 21:18:14 +08:00
19 lines
596 B
JavaScript
19 lines
596 B
JavaScript
import CalendarLocale from '../../vc-calendar/src/locale/th_TH'
|
|
import TimePickerLocale from '../../time-picker/locale/th_TH'
|
|
import assign from 'object-assign'
|
|
|
|
// Merge into a locale object
|
|
const locale = {
|
|
lang: assign({
|
|
placeholder: 'เลือกวันที่',
|
|
rangePlaceholder: ['วันเริ่มต้น', 'วันสิ้นสุด'],
|
|
}, CalendarLocale),
|
|
timePickerLocale: assign({}, TimePickerLocale),
|
|
}
|
|
|
|
// All settings at:
|
|
// https://github.com/ant-design/ant-design/blob/master/components/date-picker/lo
|
|
// cale/example.json
|
|
|
|
export default locale
|