mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-03 20:47:56 +08:00
21 lines
576 B
Vue
21 lines
576 B
Vue
|
import CalendarLocale from '../../vc-picker/locale/fi_FI';
|
||
|
import TimePickerLocale from '../../time-picker/locale/fi_FI';
|
||
|
import type { PickerLocale } from '../generatePicker';
|
||
|
|
||
|
// Merge into a locale object
|
||
|
const locale: PickerLocale = {
|
||
|
lang: {
|
||
|
placeholder: 'Valitse päivä',
|
||
|
rangePlaceholder: ['Alkamispäivä', 'Päättymispäivä'],
|
||
|
...CalendarLocale,
|
||
|
},
|
||
|
timePickerLocale: {
|
||
|
...TimePickerLocale,
|
||
|
},
|
||
|
};
|
||
|
|
||
|
// All settings at:
|
||
|
// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json
|
||
|
|
||
|
export default locale;
|