Trilium Frontend API
    Preparing search index...

    Interface DateTimeDifferenceParams

    interface DateTimeDifferenceParams {
        date?: any;
        humanize?: boolean;
        inputFormat?: string;
        invalidPlaceholder?: string | number | true | ValueStringCallback;
        outputFormat?: string;
        suffix?: boolean;
        timezone?: string;
        unit?:
            | "seconds"
            | "minutes"
            | "hours"
            | "days"
            | "months"
            | "years"
            | "weeks";
    }

    Hierarchy (View Summary)

    Index

    Properties

    date?: any
    humanize?: boolean
    inputFormat?: string
    invalidPlaceholder?: string | number | true | ValueStringCallback
    outputFormat?: string
    suffix?: boolean
    timezone?: string
    unit?: "seconds" | "minutes" | "hours" | "days" | "months" | "years" | "weeks"