2018-03-14 22:00:43 +08:00
|
|
|
import CalendarLocale from '../../vc-calendar/src/locale/sr_RS'
|
|
|
|
import TimePickerLocale from '../../time-picker/locale/sr_RS'
|
|
|
|
|
|
|
|
// Merge into a locale object
|
|
|
|
const locale = {
|
|
|
|
lang: {
|
|
|
|
placeholder: 'Izaberite datum',
|
|
|
|
rangePlaceholder: [
|
2018-04-21 12:51:56 +08:00
|
|
|
'Početni datum', 'Krajnji datum',
|
2018-03-14 22:00:43 +08:00
|
|
|
],
|
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,
|
|
|
|
},
|
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
|
|
|
|
|
|
|
|
export default locale
|