date_format_document

Formats a date in a document format. By default it the format d/m/y.

Example

1
{{ 2020-01-15 | date_format_document }} => 15/01/20

Input

Type Parameter Description Required
string date The date to format. Comes before the | sign. Required

Output

Type Description
string The formatted date