format
Format a date into a given format.
Format a variable’s date value with PHP’s date formatting syntax. This modifier is special in its syntax, in that there is no |
involved. It looks and acts like a parameter.
Sample Usage
{{ start_date format="Y" }}
This will output the date value of start_date
formatted as YYYY.
Parameters
This modifier expects one parameter, the format string with which to format the date.