Files
video-gen/video-gen-admin/node_modules/antd/es/date-picker/locale/id_ID.js
T
2026-05-25 17:08:18 +08:00

24 lines
885 B
JavaScript

import CalendarLocale from '@rc-component/picker/locale/id_ID';
import TimePickerLocale from '../../time-picker/locale/id_ID';
// Merge into a locale object
const locale = {
lang: {
placeholder: 'Pilih tanggal',
yearPlaceholder: 'Pilih tahun',
quarterPlaceholder: 'Pilih kuartal',
monthPlaceholder: 'Pilih bulan',
weekPlaceholder: 'Pilih minggu',
rangePlaceholder: ['Tanggal awal', 'Tanggal akhir'],
rangeYearPlaceholder: ['Tahun awal', 'Tahun akhir'],
rangeQuarterPlaceholder: ['Kuartal awal', 'Kuartal akhir'],
rangeMonthPlaceholder: ['Bulan awal', 'Bulan akhir'],
rangeWeekPlaceholder: ['Minggu awal', 'Minggu akhir'],
...CalendarLocale
},
timePickerLocale: {
...TimePickerLocale
}
};
// All settings at:
// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json
export default locale;