Cldr.Calendar.date_to_string
You're seeing just the function
date_to_string
, go back to Cldr.Calendar module for more information.
Specs
Formats a date into a string representation
Note that the output is not decorated with the calendar module name.
Example
iex> Cldr.Calendar.date_to_string ~D[2019-12-04]
"2019-12-04"
iex> Cldr.Calendar.date_to_string ~D[2019-23-04 Cldr.Calendar.NRF]
"2019-W23-4"