diff options
-rw-r--r-- | public/js/calendar.js | 1 |
1 files changed, 1 insertions, 0 deletions
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(){ | |||
69 | start_value = info.startStr + 'T10:00'; | 69 | start_value = info.startStr + 'T10:00'; |
70 | end.setDate(end.getDate() - 1); // jour de fin modifié pour ne pas faire bizarre pour l'utilisateur | 70 | end.setDate(end.getDate() - 1); // jour de fin modifié pour ne pas faire bizarre pour l'utilisateur |
71 | end.setHours(11); | 71 | end.setHours(11); |
72 | end_value = end.toISOString().split('T')[0] + 'T11:00'; | ||
72 | } | 73 | } |
73 | else if(calendar.view.type == 'timeGridWeek' || calendar.view.type == 'timeGridDay'){ | 74 | else if(calendar.view.type == 'timeGridWeek' || calendar.view.type == 'timeGridDay'){ |
74 | const start_array = info.startStr.split("T"); | 75 | const start_array = info.startStr.split("T"); |