@nextcloud/l10n

    Interface FormatDateOptions

    interface FormatDateOptions {
        ignoreSeconds?: string | false;
        language?: string;
        relativeTime?: "long" | "short" | "narrow";
    }
    Index

    Properties

    ignoreSeconds?: string | false

    If set then instead of showing seconds since the timestamp show the passed message.

    false
    
    language?: string

    Language to use

    'current language'
    
    relativeTime?: "long" | "short" | "narrow"

    The relative time formatting option to use

    'long
    
    MMNEPVFCICPMFPCPTTAAATR