ant-design-vue/components/date-picker/locale/pl_PL.js

21 lines
512 B
JavaScript
Raw Normal View History

2019-01-12 11:33:27 +08:00
import CalendarLocale from '../../vc-calendar/src/locale/pl_PL';
import TimePickerLocale from '../../time-picker/locale/pl_PL';
2018-03-14 22:00:43 +08:00
// Merge into a locale object
const locale = {
lang: {
placeholder: 'Wybierz datę',
2019-01-12 11:33:27 +08:00
rangePlaceholder: ['Data początkowa', 'Data końcowa'],
2018-04-21 12:51:56 +08:00
...CalendarLocale,
2018-03-14 22:00:43 +08:00
},
timePickerLocale: {
2018-04-21 12:51:56 +08:00
...TimePickerLocale,
},
2019-01-12 11:33:27 +08:00
};
2018-03-14 22:00:43 +08:00
// All settings at:
// https://github.com/ant-design/ant-design/blob/master/components/date-picker/lo
// cale/example.json
2019-01-12 11:33:27 +08:00
export default locale;