ant-design/components/date-picker/locale/pl_PL.tsx
imosapatryk 79afe8ef89 Update pl_PL.tsx
You import wrong files.
2017-07-17 16:02:25 +02:00

20 lines
502 B
TypeScript

import CalendarLocale from 'rc-calendar/lib/locale/pl_PL';
import TimePickerLocale from '../../time-picker/locale/pl_PL';
// Merge into a locale object
const locale = {
lang: {
placeholder: 'Wybierz datę',
rangePlaceholder: ['Data początkowa', 'Data końcowa'],
...CalendarLocale,
},
timePickerLocale: {
...TimePickerLocale,
},
};
// All settings at:
// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json
export default locale;