ant-design/components/date-picker/locale/sv_SE.tsx
Jesper We 11ebc915eb feat: Add support for Swedish locale (#4455)
* Swedish locale

* Create sv_SE.tsx

* Create sv_SE.tsx

* Create sv_SE.tsx
2017-01-08 19:14:01 +08:00

17 lines
451 B
TypeScript

import CalendarLocale from 'rc-calendar/lib/locale/sv_SE';
import TimePickerLocale from '../../time-picker/locale/sv_SE';
import assign from 'object-assign';
const locale = {
lang: assign({
placeholder: 'Välj datum',
rangePlaceholder: ['Startdatum', 'Slutdatum'],
}, CalendarLocale),
timePickerLocale: assign({}, TimePickerLocale),
};
// All settings at:
// https://github.com/ant-design/ant-design/issues/424
export default locale;