Fixed "React UseState useEffect" Loop on Semester overview

This commit is contained in:
brausjonas
2023-05-22 19:43:26 +02:00
parent aa408b27d1
commit 7d6d48d09e
5 changed files with 742346 additions and 2035243 deletions
+1
View File
@@ -25,6 +25,7 @@ export default function InputForm(p) {
let startYear = parseInt(startSplit[0]);
let endYear = parseInt(endSplit[0]);
//month - 1 because jan = 0, day like month... but because of next lines 3 to 4 not - 1
let startInternalDate = new Date(startYear, parseInt(startSplit[1]) - 1, parseInt(startSplit[2]))
let endInternalDate = new Date(endYear, parseInt(endSplit[1]) - 1, parseInt(endSplit[2]))