2017-03-24 10:54:36 +08:00
|
|
|
import CalendarLocale from 'rc-calendar/lib/locale/et_EE';
|
|
|
|
import TimePickerLocale from '../../time-picker/locale/et_EE';
|
|
|
|
|
|
|
|
// 统一合并为完整的 Locale
|
|
|
|
const locale = {
|
2017-07-03 16:57:11 +08:00
|
|
|
lang: {
|
2017-03-24 10:54:36 +08:00
|
|
|
placeholder: 'Vali kuupäev',
|
|
|
|
rangePlaceholder: ['Algus kuupäev', 'Lõpu kuupäev'],
|
2017-07-03 16:57:11 +08:00
|
|
|
...CalendarLocale,
|
|
|
|
},
|
|
|
|
timePickerLocale: {
|
|
|
|
...TimePickerLocale,
|
|
|
|
},
|
2017-03-24 10: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;
|