{#{{ value|date('U')}}#}

{% if field_options.format == "d/m/Y h:i A e" %}
    {% 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>
