2019-12-11 23:32:19 +08:00
|
|
|
import CalendarLocale from 'rc-picker/lib/locale/mn_MN';
|
2024-04-08 14:04:08 +08:00
|
|
|
|
2018-09-04 11:36:44 +08:00
|
|
|
import TimePickerLocale from '../../time-picker/locale/mn_MN';
|
2022-05-07 14:31:54 +08:00
|
|
|
import type { PickerLocale } from '../generatePicker';
|
2018-09-04 11:36:44 +08:00
|
|
|
|
|
|
|
// Merge into a locale object
|
2020-03-12 10:49:32 +08:00
|
|
|
const locale: PickerLocale = {
|
2018-09-04 11:36:44 +08:00
|
|
|
lang: {
|
|
|
|
placeholder: 'Огноо сонгох',
|
|
|
|
rangePlaceholder: ['Эхлэх огноо', 'Дуусах огноо'],
|
|
|
|
...CalendarLocale,
|
|
|
|
},
|
|
|
|
timePickerLocale: {
|
|
|
|
...TimePickerLocale,
|
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
// All settings at:
|
|
|
|
// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json
|
|
|
|
|
|
|
|
export default locale;
|