- Issue created by @jasloe
When printing dates with Twig, it would be helpful to be able to format the output, like you can with core dates, i.e.
{{ node.field_some_field.value|date('U')|format_date('some_format') }}
For reference, this functionality exists in the dev branch of the Smart Date contrib, as described here β .
Active
2.0
Code