base-config.js (1187B)
1import { defaultCalendar } from './calendar'; 2import { defaultLongDateFormat } from './formats'; 3import { defaultInvalidDate } from './invalid'; 4import { defaultOrdinal, defaultDayOfMonthOrdinalParse } from './ordinal'; 5import { defaultRelativeTime } from './relative'; 6 7// months 8import { defaultLocaleMonths, defaultLocaleMonthsShort } from '../units/month'; 9 10// week 11import { defaultLocaleWeek } from '../units/week'; 12 13// weekdays 14import { 15 defaultLocaleWeekdays, 16 defaultLocaleWeekdaysMin, 17 defaultLocaleWeekdaysShort, 18} from '../units/day-of-week'; 19 20// meridiem 21import { defaultLocaleMeridiemParse } from '../units/hour'; 22 23export var baseConfig = { 24 calendar: defaultCalendar, 25 longDateFormat: defaultLongDateFormat, 26 invalidDate: defaultInvalidDate, 27 ordinal: defaultOrdinal, 28 dayOfMonthOrdinalParse: defaultDayOfMonthOrdinalParse, 29 relativeTime: defaultRelativeTime, 30 31 months: defaultLocaleMonths, 32 monthsShort: defaultLocaleMonthsShort, 33 34 week: defaultLocaleWeek, 35 36 weekdays: defaultLocaleWeekdays, 37 weekdaysMin: defaultLocaleWeekdaysMin, 38 weekdaysShort: defaultLocaleWeekdaysShort, 39 40 meridiemParse: defaultLocaleMeridiemParse, 41};