Cldr.DateTime.Formatter.date

You're seeing just the function date, go back to Cldr.DateTime.Formatter module for more information.
Link to this function

date(date, n \\ 1, options \\ [])

View Source

Specs

date(Calendar.date(), integer(), Keyword.t()) ::
  String.t() | {:error, String.t()}

Returns a formatted date.

DateTime formats are defined in CLDR using substitution rules whereby the Date and/or Time are substituted into a format string. Therefore this function crafts a date format string which is then inserted into the overall format being requested.

Link to this function

date(date, n, locale, backend, options)

View Source

Specs

date(Calendar.date(), integer(), locale(), Cldr.backend(), Keyword.t()) ::
  String.t() | {:error, String.t()}