{% macro iso(date) %} <time datetime="{{ date|date('Y-m-d') }}">{{ date|date('Y-m-d') }}</time> {% endmacro %} {% macro euro(date) %} <time datetime="{{ date|date('Y-m-d') }}">{{ date|date('d/m/Y') }}</time> {% endmacro %} {% macro full(date) %} <time datetime="{{ date|date('Y-m-d') }}">{{ date|date('j F Y') }}</time> {% endmacro %}