blessed-components - v1.20.0
    Preparing search index...

    Interface RenderTimestampOptions

    Options accepted by renderTimestamp.

    interface RenderTimestampOptions {
        align?: TextAlign;
        height?: number;
        omission?: string;
        overflow?: TextOverflow;
        truncatePosition?: "end" | "middle" | "start";
        verticalAlign?: TextVerticalAlign;
        width?: number;
        format?: TimestampFormat;
        now?: string | number | Date;
        value: string | number | Date;
        locale?: string;
        timeZone?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    align?: TextAlign

    Horizontal alignment applied after overflow handling.

    'left'

    height?: number

    Maximum rendered line count.

    omission?: string

    Omission marker used by truncate overflow.

    '…'

    overflow?: TextOverflow

    Horizontal overflow policy.

    'wrap'

    truncatePosition?: "end" | "middle" | "start"

    Truncation position used by truncate overflow.

    'end'

    verticalAlign?: TextVerticalAlign

    Vertical alignment applied when both height and width are configured.

    'top'

    width?: number

    Maximum rendered width measured in terminal cells.

    Timestamp display mode.

    'absolute'

    now?: string | number | Date

    Reference date used by relative timestamps.

    Date.now()

    value: string | number | Date

    Date-like value to render.

    locale?: string
    timeZone?: string