• Create a date format function.


    Returns FormatFunc

    A new date format function.


    This formatter uses Date.toDateString() to format the values.

    If a value is not a Date object, new Date(value) is used to coerce the value to a date.

    The formatIntlDateTime() formatter is more flexible, but slower.

Generated using TypeDoc