From fb96c71e9c92035a4021806adef1b0fe78fc86c7 Mon Sep 17 00:00:00 2001 From: David mattei Date: Tue, 9 Apr 2024 14:41:30 +0200 Subject: [PATCH] fix: last modification column for tasks use date_time_format --- .../src/Resources/views/bootstrap5/revision/task/columns.twig | 2 +- EMS/core-bundle/src/Resources/views/revision/task/columns.twig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/EMS/admin-ui-bundle/src/Resources/views/bootstrap5/revision/task/columns.twig b/EMS/admin-ui-bundle/src/Resources/views/bootstrap5/revision/task/columns.twig index aef4bdaa6..2431ce431 100644 --- a/EMS/admin-ui-bundle/src/Resources/views/bootstrap5/revision/task/columns.twig +++ b/EMS/admin-ui-bundle/src/Resources/views/bootstrap5/revision/task/columns.twig @@ -41,7 +41,7 @@ {% endif %} {%- endblock -%} -{%- block modified -%}{{ data.task_modified -}}{%- endblock -%} +{%- block modified -%}{{ data.task_modified|date(date_time_format) -}}{%- endblock -%} {%- block actions -%}
diff --git a/EMS/core-bundle/src/Resources/views/revision/task/columns.twig b/EMS/core-bundle/src/Resources/views/revision/task/columns.twig index aef4bdaa6..2431ce431 100644 --- a/EMS/core-bundle/src/Resources/views/revision/task/columns.twig +++ b/EMS/core-bundle/src/Resources/views/revision/task/columns.twig @@ -41,7 +41,7 @@ {% endif %} {%- endblock -%} -{%- block modified -%}{{ data.task_modified -}}{%- endblock -%} +{%- block modified -%}{{ data.task_modified|date(date_time_format) -}}{%- endblock -%} {%- block actions -%}