2017-03-28 21:26:07 +08:00
|
|
|
|
import CalendarLocale from 'rc-calendar/lib/locale/en_US';
|
|
|
|
|
import TimePickerLocale from '../../time-picker/locale/tr_TR';
|
|
|
|
|
|
|
|
|
|
// Merge into a locale object
|
|
|
|
|
const locale = {
|
2017-07-03 16:57:11 +08:00
|
|
|
|
lang: {
|
2017-03-28 21:26:07 +08:00
|
|
|
|
placeholder: 'Tarih Seç',
|
|
|
|
|
rangePlaceholder: ['Başlangıç Tarihi', 'Bitiş Tarihi'],
|
2017-07-03 16:57:11 +08:00
|
|
|
|
...CalendarLocale,
|
|
|
|
|
},
|
|
|
|
|
timePickerLocale: {
|
|
|
|
|
...TimePickerLocale,
|
|
|
|
|
},
|
2017-03-28 21:26:07 +08:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// All settings at:
|
|
|
|
|
// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json
|
|
|
|
|
|
|
|
|
|
export default locale;
|