@welshare/sdk
    Preparing search index...

    Interface FormatDateOptions

    Options for date formatting

    interface FormatDateOptions {
        includeTime?: boolean;
        locale?: string;
        month?: "long" | "short" | "numeric" | "2-digit";
    }
    Index

    Properties

    includeTime?: boolean

    Whether to include time in the output

    true
    
    locale?: string

    Locale for formatting

    "en-US"
    
    month?: "long" | "short" | "numeric" | "2-digit"

    Month format: "long" (January), "short" (Jan), "numeric" (1), "2-digit" (01)

    "long"