Utility TypeScript @ 2.0.0-beta.5
    Preparing search index...

    Interface Args

    Optional configuation for timestamp function.

    0.1.0

    2.0.0-beta.3 — Removed lang property. Removed format property to be date & time property options and changed params from the JS Intl.DateTimeFormatOptions to simplify and stick to ISO-ish timestamps.

    interface Args {
        date: boolean | Partial<Date>;
        separator: string;
        time: boolean | Partial<Time>;
        debug?: boolean;
    }
    Index

    Properties

    date: boolean | Partial<Date>

    Whether to inlude the date in the timestamp.

    If both date and time are false, the time will be included anyway.

    false
    
    separator: string

    String that joins the date and time stamps, if applicable.

    ' @ '
    
    time: boolean | Partial<Time>

    Whether to inlude the time in the timestamp.

    If both date and time are false, the time will be included anyway.

    false
    
    debug?: boolean

    Outputs some var dumps to the console.

    false