diff --git a/Resources/views/SingleTask/_list.html.twig b/Resources/views/SingleTask/_list.html.twig index 9f124d866..e45f2c26f 100644 --- a/Resources/views/SingleTask/_list.html.twig +++ b/Resources/views/SingleTask/_list.html.twig @@ -40,17 +40,17 @@ diff --git a/Resources/views/SingleTask/show.html.twig b/Resources/views/SingleTask/show.html.twig index f19825cdd..808179fc5 100644 --- a/Resources/views/SingleTask/show.html.twig +++ b/Resources/views/SingleTask/show.html.twig @@ -62,17 +62,17 @@ {% else %} {% if task.startDate is not null %}
{{ 'Start'|trans }}
-
{{ task.startDate|localizeddate('long', 'none') }}
+
{{ task.startDate|format_date('long', 'none') }}
{% endif %} {% if task.endDate is not null %}
{{ 'End'|trans }}
-
{{ task.endDate|localizeddate('long', 'none') }}
+
{{ task.endDate|format_date('long', 'none') }}
{% endif %} {% if task.warningDate is not null %}
{{ 'Warning'|trans }}
-
{{ task.warningDate|localizeddate('long', 'none') }}
+
{{ task.warningDate|format_date('long', 'none') }}
{% endif %} {% endif %} diff --git a/Resources/views/Timeline/single_task_transition_person_context.html.twig b/Resources/views/Timeline/single_task_transition_person_context.html.twig index 4bd7f6176..3b1b3cde1 100644 --- a/Resources/views/Timeline/single_task_transition_person_context.html.twig +++ b/Resources/views/Timeline/single_task_transition_person_context.html.twig @@ -1,6 +1,6 @@

- {{ event.datetime|localizeddate('long', 'none') }} + {{ event.datetime|format_date('long', 'none') }} / {{ 'Task'|trans }} / {% if transition is not null %} {{ task_workflow_metadata(event.task, 'transition.sentence', transition)|trans({ '%user%': event.author.username }) }} @@ -25,7 +25,7 @@ {% if event.task.endDate is not empty %}
{{ 'Task end date'|trans }}
-
{{ event.task.endDate|localizeddate('medium', 'none') }}
+
{{ event.task.endDate|format_date('medium', 'none') }}
{% endif %}

diff --git a/Resources/views/Timeline/single_task_transition_task_context.html.twig b/Resources/views/Timeline/single_task_transition_task_context.html.twig index 010023a29..4f6b081bc 100644 --- a/Resources/views/Timeline/single_task_transition_task_context.html.twig +++ b/Resources/views/Timeline/single_task_transition_task_context.html.twig @@ -1,6 +1,6 @@

- {{ event.datetime|localizeddate('long', 'short') }} + {{ event.datetime|format_date('long', 'short') }} {% if transition is not null %} {{ task_workflow_metadata(event.task, 'transition.sentence', transition)|trans({ '%user%': event.author.username }) }}