|
12345678 |
- {# {{ value|date('U')}} #}
-
- {% if field_options.format == "d/m/Y h:i A e" or field_options.format == null %}
- {% set format = "d/m/Y H:i" %}
- {% else %}
- {% set format = field_options.format %}
- {% endif %}
- <time data-timestamp="{{ value|date('U') }}" title="{{ value|date('r') }}">{{ value|date(format) }}</time>
|