ant-design/components/date-picker/locale/uk_UA.tsx
Oleksandr Kovalchuk fce6862696 Feature: uk_UA locale (#8169)
* Add uk-UA localization

Ukrainian localization for the following components:

- locale-provider
- DatePicker
- TimePicker
- Calendar

* Add uk_UA locale to test suite

* Add uk_UA locale to tests snapshot

Tests on CI are failing because there are no snapshot for uk_UA locale.
Generate a snapshot with `npm test -u` command and add it to the test
suite.
2017-11-14 16:10:54 +08:00

19 lines
503 B
TypeScript

import CalendarLocale from 'rc-calendar/lib/locale/uk_UA';
import TimePickerLocale from '../../time-picker/locale/uk_UA';
const locale = {
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;