mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-21 13:18:04 +08:00
94d46e4c01
Update index.test.js Syntactic error corrected
20 lines
519 B
TypeScript
20 lines
519 B
TypeScript
import CalendarLocale from 'rc-calendar/lib/locale/el_GR';
|
|
import TimePickerLocale from '../../time-picker/locale/el_GR';
|
|
|
|
// Merge into a locale object
|
|
const locale = {
|
|
lang: {
|
|
placeholder: 'Επιλέξτε ημερομηνία',
|
|
rangePlaceholder: ['Αρχική ημερομηνία', 'Τελική ημερομηνία'],
|
|
...CalendarLocale,
|
|
},
|
|
timePickerLocale: {
|
|
...TimePickerLocale,
|
|
},
|
|
};
|
|
|
|
// All settings at:
|
|
// https://github.com/ant-design/ant-design/issues/424
|
|
|
|
export default locale;
|