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

20 lines
500 B
TypeScript
Raw Normal View History

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 = {
lang: {
2017-04-10 21:52:48 +08:00
placeholder: 'Valitse päivä',
rangePlaceholder: ['Alku päivä', 'Loppu päivä'],
...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;