diff options
| author | polo <ordipolo@gmx.fr> | 2025-06-16 23:51:25 +0200 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2025-06-16 23:51:25 +0200 |
| commit | 132d5516cb84e05701797c7a969f824e6f0b5f4c (patch) | |
| tree | d6a5c3e7ab8c6f2463fd179b7c19e003cf40a1fd | |
| parent | c3721d014414895ee629f94feffd014db27f4af7 (diff) | |
| download | fullcalendar-132d5516cb84e05701797c7a969f824e6f0b5f4c.tar.gz fullcalendar-132d5516cb84e05701797c7a969f824e6f0b5f4c.tar.bz2 fullcalendar-132d5516cb84e05701797c7a969f824e6f0b5f4c.zip | |
erreur date de fin vue par mois
| -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"); |
