ant-design/components/date-picker/locale/th_TH.tsx

20 lines
556 B
TypeScript
Raw Normal View History

2017-07-04 17:54:36 +08:00
import CalendarLocale from 'rc-calendar/lib/locale/th_TH';
import TimePickerLocale from '../../time-picker/locale/th_TH';
// Merge into a locale object
const locale = {
2018-08-07 23:00:34 +08:00
lang: {
2017-07-04 17:54:36 +08:00
placeholder: 'เลือกวันที่',
rangePlaceholder: ['วันเริ่มต้น', 'วันสิ้นสุด'],
2018-08-07 23:00:34 +08:00
...CalendarLocale,
},
timePickerLocale: {
...TimePickerLocale,
},
2017-07-04 17:54:36 +08:00
};
// All settings at:
// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json
export default locale;