You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
699 B
22 lines
699 B
5 years ago
|
// Tamil Locale added to rc-calendar
|
||
5 years ago
|
import CalendarLocale from 'rc-picker/lib/locale/ta_IN';
|
||
5 years ago
|
import TimePickerLocale from '../../time-picker/locale/ta_IN';
|
||
3 years ago
|
import type { PickerLocale } from '../generatePicker';
|
||
5 years ago
|
|
||
|
// Merge into a locale object
|
||
5 years ago
|
const locale: PickerLocale = {
|
||
5 years ago
|
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;
|