2017-04-10 21:52:48 +08:00
|
|
|
import CalendarLocale from 'rc-calendar/lib/locale/fi_FI';
|
|
|
|
import TimePickerLocale from '../../time-picker/locale/fi_FI';
|
|
|
|
|
|
|
|
// Merge into a locale object
|
|
|
|
const locale = {
|
2017-07-03 16:57:11 +08:00
|
|
|
lang: {
|
2017-04-10 21:52:48 +08:00
|
|
|
placeholder: 'Valitse päivä',
|
|
|
|
rangePlaceholder: ['Alku päivä', 'Loppu päivä'],
|
2017-07-03 16:57:11 +08:00
|
|
|
...CalendarLocale,
|
|
|
|
},
|
|
|
|
timePickerLocale: {
|
|
|
|
...TimePickerLocale,
|
|
|
|
},
|
2017-04-10 21:52:48 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
// All settings at:
|
|
|
|
// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json
|
|
|
|
|
|
|
|
export default locale;
|