{% extends 'email.html.twig' %}

{% block heading %}{{ subject|trans }}{% endblock %}

{% block content %}
    {% trans with {
        '%expire_at%': password_reset_token.expireAt|localizeddate('medium', 'short'),
        '%url%':       url('darvin_user_security_reset_password', {'token': password_reset_token.base64EncodedId}),
    } %}
        email.password_reset.text
    {% endtrans %}
{% endblock %}

{% extends 'email.html.twig' %}

{% block heading %}{{ subject|trans }}{% endblock %}

{% block content %}
    {% trans with {
        '%expire_at%': password_reset_token.expireAt|date('d.m.Y H:i'),
        '%url%':       url('darvin_user_security_reset_password', {'token': password_reset_token.base64EncodedId}),
    } %}
        email.password_reset.text
    {% endtrans %}
{% endblock %}

Replace "localizeddate" Twig filter with "date".
Replace "localizeddate" Twig filter with "date".
