From 43f7f354014f32f9e3e4f1f4a06aedfba424db35 Mon Sep 17 00:00:00 2001 From: Iziram Date: Sun, 24 Sep 2023 10:17:05 +0200 Subject: [PATCH] Assiduites : fix offset justi #749 --- app/templates/assiduites/pages/ajout_justificatif.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/templates/assiduites/pages/ajout_justificatif.j2 b/app/templates/assiduites/pages/ajout_justificatif.j2 index bef71862f..28c4b6159 100644 --- a/app/templates/assiduites/pages/ajout_justificatif.j2 +++ b/app/templates/assiduites/pages/ajout_justificatif.j2 @@ -138,8 +138,8 @@ const raison = field.querySelector('#justi_raison').value; return { - date_debut: deb, - date_fin: fin, + date_debut: moment.tz(deb, TIMEZONE).format(), + date_fin: moment.tz(fin, TIMEZONE).format(), etat: etat, raison: raison, }