Description
Pretty print a date.
Syntax
{{ <date> | localized_date: <format>(, <locale>) }}
Examples
{{ today | localized_date: '%d %B' }}
{{ today | localized_date: '%d %B', 'fr' }}
Returns
13 November
13 novembre
Options
| Name | Type | Description |
|---|---|---|
| format | String | It depends on the current locale. For the 'en' locale, it is "%m/%d/%Y". Read the syntax reference. |
| locale | String | Optional. By default, it is the current locale. |