ant-design-vue/components/date-picker/locale/id_ID.ts

20 lines
511 B
TypeScript
Raw Normal View History

2019-01-12 03:33:27 +00:00
import CalendarLocale from '../../vc-calendar/src/locale/id_ID';
import TimePickerLocale from '../../time-picker/locale/id_ID';
// Merge into a locale object
const locale = {
lang: {
placeholder: 'Pilih tanggal',
rangePlaceholder: ['Mulai tanggal', 'Tanggal akhir'],
...CalendarLocale,
},
timePickerLocale: {
...TimePickerLocale,
},
2019-01-12 03:33:27 +00:00
};
// All settings at:
2020-10-16 06:26:04 +00:00
// https://github.com/vueComponent/ant-design-vue/blob/master/components/date-picker/locale/example.json
2019-01-12 03:33:27 +00:00
export default locale;