@nextcloud/moment

    Interface LocaleSpecification

    interface LocaleSpecification {
        calendar?: CalendarSpec;
        invalidDate?: string;
        isPM?: (input: string) => boolean;
        longDateFormat?: LongDateFormatSpec;
        meridiem?: (hour: number, minute: number, isLower: boolean) => string;
        meridiemParse?: RegExp;
        months?: string[] | StandaloneFormatSpec | MonthWeekdayFn;
        monthsShort?: string[] | StandaloneFormatSpec | MonthWeekdayFn;
        ordinal?: (n: number) => string;
        ordinalParse?: RegExp;
        relativeTime?: RelativeTimeSpec;
        week?: WeekSpec;
        weekdays?: string[] | StandaloneFormatSpec | MonthWeekdayFn;
        weekdaysMin?: string[] | StandaloneFormatSpec | WeekdaySimpleFn;
        weekdaysShort?: string[] | StandaloneFormatSpec | WeekdaySimpleFn;
        [x: string]: any;
    }

    Indexable

    • [x: string]: any
    Index

    Properties

    calendar?: CalendarSpec
    invalidDate?: string
    isPM?: (input: string) => boolean
    longDateFormat?: LongDateFormatSpec
    meridiem?: (hour: number, minute: number, isLower: boolean) => string
    meridiemParse?: RegExp
    months?: string[] | StandaloneFormatSpec | MonthWeekdayFn
    monthsShort?: string[] | StandaloneFormatSpec | MonthWeekdayFn
    ordinal?: (n: number) => string
    ordinalParse?: RegExp
    relativeTime?: RelativeTimeSpec
    week?: WeekSpec
    weekdays?: string[] | StandaloneFormatSpec | MonthWeekdayFn
    weekdaysMin?: string[] | StandaloneFormatSpec | WeekdaySimpleFn
    weekdaysShort?: string[] | StandaloneFormatSpec | WeekdaySimpleFn
    MMNEPVFCICPMFPCPTTAAATR