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

20 lines
483 B
TypeScript
Raw Normal View History

2017-03-24 10:30:37 +08:00
import CalendarLocale from 'rc-calendar/lib/locale/sk_SK';
import TimePickerLocale from '../../time-picker/locale/sk_SK';
// 统一合并为完整的 Locale
const locale = {
lang: {
2017-03-24 10:30:37 +08:00
placeholder: 'Vybrať dátum',
rangePlaceholder: ['Od', 'Do'],
...CalendarLocale,
},
timePickerLocale: {
...TimePickerLocale,
},
2017-03-24 10:30:37 +08:00
};
// All settings at:
// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json
export default locale;