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

20 lines
502 B
TypeScript
Raw Normal View History

import CalendarLocale from 'rc-calendar/lib/locale/tr_TR';
2017-03-28 21:26:07 +08:00
import TimePickerLocale from '../../time-picker/locale/tr_TR';
// Merge into a locale object
const locale = {
lang: {
2017-03-28 21:26:07 +08:00
placeholder: 'Tarih Seç',
rangePlaceholder: ['Başlangıç Tarihi', 'Bitiş Tarihi'],
...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;