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.
42 lines
1.2 KiB
42 lines
1.2 KiB
|
3 years ago
|
import { defaultCalendar } from './calendar';
|
||
|
|
import { defaultLongDateFormat } from './formats';
|
||
|
|
import { defaultInvalidDate } from './invalid';
|
||
|
|
import { defaultOrdinal, defaultDayOfMonthOrdinalParse } from './ordinal';
|
||
|
|
import { defaultRelativeTime } from './relative';
|
||
|
|
|
||
|
|
// months
|
||
|
|
import { defaultLocaleMonths, defaultLocaleMonthsShort } from '../units/month';
|
||
|
|
|
||
|
|
// week
|
||
|
|
import { defaultLocaleWeek } from '../units/week';
|
||
|
|
|
||
|
|
// weekdays
|
||
|
|
import {
|
||
|
|
defaultLocaleWeekdays,
|
||
|
|
defaultLocaleWeekdaysMin,
|
||
|
|
defaultLocaleWeekdaysShort,
|
||
|
|
} from '../units/day-of-week';
|
||
|
|
|
||
|
|
// meridiem
|
||
|
|
import { defaultLocaleMeridiemParse } from '../units/hour';
|
||
|
|
|
||
|
|
export var baseConfig = {
|
||
|
|
calendar: defaultCalendar,
|
||
|
|
longDateFormat: defaultLongDateFormat,
|
||
|
|
invalidDate: defaultInvalidDate,
|
||
|
|
ordinal: defaultOrdinal,
|
||
|
|
dayOfMonthOrdinalParse: defaultDayOfMonthOrdinalParse,
|
||
|
|
relativeTime: defaultRelativeTime,
|
||
|
|
|
||
|
|
months: defaultLocaleMonths,
|
||
|
|
monthsShort: defaultLocaleMonthsShort,
|
||
|
|
|
||
|
|
week: defaultLocaleWeek,
|
||
|
|
|
||
|
|
weekdays: defaultLocaleWeekdays,
|
||
|
|
weekdaysMin: defaultLocaleWeekdaysMin,
|
||
|
|
weekdaysShort: defaultLocaleWeekdaysShort,
|
||
|
|
|
||
|
|
meridiemParse: defaultLocaleMeridiemParse,
|
||
|
|
};
|