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

20 lines
502 B
TypeScript
Raw Normal View History

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