Cldr.Calendar.current
You're seeing just the function
current, go back to Cldr.Calendar module for more information.
Returns the current date or date range for a date period (year, quarter, month, week or day).
Arguments
date_or_date_rangeis anyDate.torDate.Range.tperiodis:year,:quarter,:month,:weekor:day
Returns
When a Date.t is passed, a Date.t is
returned. When a Date.Range.t is passed
a Date.Range.t is returned.
Examples
iex> Cldr.Calendar.current ~D[2019-01-01], :day
~D[2019-01-01]