Cldr.DateTime.Formatter.date
You're seeing just the function
date
, go back to Cldr.DateTime.Formatter module for more information.
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.
Specs
date(Calendar.date(), integer(), locale(), Cldr.backend(), Keyword.t()) :: String.t() | {:error, String.t()}