Newer
Older
activity-manager / templates / _includes / macros / date.html.twig
@Kilian Riou Kilian Riou on 25 Jun 2021 336 bytes Update font
{% 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 %}