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

19 lines
460 B
TypeScript
Raw Normal View History

import CalendarLocale from 'rc-calendar/lib/locale/sv_SE';
import TimePickerLocale from '../../time-picker/locale/sv_SE';
const locale = {
lang: {
placeholder: 'Välj datum',
rangePlaceholder: ['Startdatum', 'Slutdatum'],
...CalendarLocale,
},
timePickerLocale: {
...TimePickerLocale,
},
};
// All settings at:
2017-01-04 10:08:35 +08:00
// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json
export default locale;