From 132d5516cb84e05701797c7a969f824e6f0b5f4c Mon Sep 17 00:00:00 2001 From: polo Date: Mon, 16 Jun 2025 23:51:25 +0200 Subject: erreur date de fin vue par mois --- public/js/calendar.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/js/calendar.js b/public/js/calendar.js index f4cce68..154cdfd 100644 --- a/public/js/calendar.js +++ b/public/js/calendar.js @@ -69,6 +69,7 @@ document.addEventListener('DOMContentLoaded', function(){ start_value = info.startStr + 'T10:00'; end.setDate(end.getDate() - 1); // jour de fin modifié pour ne pas faire bizarre pour l'utilisateur end.setHours(11); + end_value = end.toISOString().split('T')[0] + 'T11:00'; } else if(calendar.view.type == 'timeGridWeek' || calendar.view.type == 'timeGridDay'){ const start_array = info.startStr.split("T"); -- cgit v1.2.3