Liquex.Filter.date

You're seeing just the function date, go back to Liquex.Filter module for more information.
Link to this function

date(value, format, context)

View Source

Converts value timestamp into another date format.

The format for this syntax is the same as strftime. The input uses the same format as Ruby’s Time.parse.

Examples

iex> Liquex.Filter.date(~D[2000-01-01], "%m/%d/%Y", %{})
"01/01/2000"

iex> Liquex.Filter.date("2000-01-01", "%m/%d/%Y", %{})
"01/01/2000"

iex> Liquex.Filter.date("January 1, 2000", "%m/%d/%Y", %{})
"01/01/2000"

iex> Liquex.Filter.date("1/2/2000", "%m/%d/%Y", %{})
"01/02/2000"

iex> Liquex.Filter.date("March 14, 2016", "%b %d, %y", %{})
"Mar 14, 16"