Trilium Frontend API
    Preparing search index...

    Interface NativeDateFormatterOptions

    interface NativeDateFormatterOptions {
        calendar?: string;
        dateStyle?: "medium" | "full" | "long" | "short";
        day?: "numeric" | "2-digit";
        dayPeriod?: "long" | "short" | "narrow";
        era?: "long" | "short" | "narrow";
        forceCommas?: boolean;
        formatMatcher?: "basic" | "best fit";
        fractionalSecondDigits?: 1 | 2 | 3;
        hour?: "numeric" | "2-digit";
        hour12?: boolean;
        hourCycle?: "h11" | "h12" | "h23" | "h24";
        localeMatcher?: "lookup" | "best fit";
        meridiem?: boolean | "short" | "narrow" | "lowercase";
        minute?: "numeric" | "2-digit";
        month?: "numeric" | "long" | "short" | "narrow" | "2-digit";
        numberingSystem?: string;
        omitCommas?: boolean;
        omitTrailing?: boolean;
        omitZeroMinute?: boolean;
        second?: "numeric" | "2-digit";
        timeStyle?: "medium" | "full" | "long" | "short";
        timeZone?: string;
        timeZoneName?:
            | "long"
            | "short"
            | "shortOffset"
            | "longOffset"
            | "shortGeneric"
            | "longGeneric";
        week?: "numeric"
        | "long"
        | "short"
        | "narrow";
        weekday?: "long" | "short" | "narrow";
        weekdayJustify?: "start" | "end";
        year?: "numeric" | "2-digit";
    }

    Hierarchy

    • DateTimeFormatOptions
      • NativeDateFormatterOptions
    Index
    calendar?: string
    dateStyle?: "medium" | "full" | "long" | "short"
    day?: "numeric" | "2-digit"
    dayPeriod?: "long" | "short" | "narrow"
    era?: "long" | "short" | "narrow"
    forceCommas?: boolean
    formatMatcher?: "basic" | "best fit"
    fractionalSecondDigits?: 1 | 2 | 3
    hour?: "numeric" | "2-digit"
    hour12?: boolean
    hourCycle?: "h11" | "h12" | "h23" | "h24"
    localeMatcher?: "lookup" | "best fit"
    meridiem?: boolean | "short" | "narrow" | "lowercase"
    minute?: "numeric" | "2-digit"
    month?: "numeric" | "long" | "short" | "narrow" | "2-digit"
    numberingSystem?: string
    omitCommas?: boolean
    omitTrailing?: boolean
    omitZeroMinute?: boolean
    second?: "numeric" | "2-digit"
    timeStyle?: "medium" | "full" | "long" | "short"
    timeZone?: string
    timeZoneName?:
        | "long"
        | "short"
        | "shortOffset"
        | "longOffset"
        | "shortGeneric"
        | "longGeneric"
    week?: "numeric" | "long" | "short" | "narrow"
    weekday?: "long" | "short" | "narrow"
    weekdayJustify?: "start" | "end"
    year?: "numeric" | "2-digit"