ant-design-vue/components/date-picker/locale/en_GB.js

23 lines
509 B
JavaScript
Raw Normal View History

2018-03-14 22:00:43 +08:00
import CalendarLocale from '../../vc-calendar/src/locale/en_GB'
import TimePickerLocale from '../../time-picker/locale/en_GB'
// Merge into a locale object
const locale = {
lang: {
placeholder: 'Select date',
rangePlaceholder: [
2018-04-21 12:51:56 +08:00
'Start date', 'End date',
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/l
// o cale/example.json
export default locale