Function formatLongDate

  • Formats a value into a locale-aware long date string.

    Parameters

    • value: DateInput

      Value to format as a date and time

    • Optionallocale: string

      Optional locale override used for formatting

    Returns string

    Locale-formatted long date string, or undefined if the input is invalid