log-2022 #64

Merged
philipp merged 78 commits from log-2022 into main 2023-11-20 10:11:05 +01:00
Showing only changes of commit be52b0daf5 - Show all commits

View File

@ -138,6 +138,12 @@ function selectBoatChange() {
const formattedDateTime = `${now.getFullYear()}-${String(now.getMonth() + 1).padStart(2, '0')}-${String(now.getDate()).padStart(2, '0')}T${String(now.getHours()).padStart(2, '0')}:${String(now.getMinutes()).padStart(2, '0')}`; const formattedDateTime = `${now.getFullYear()}-${String(now.getMonth() + 1).padStart(2, '0')}-${String(now.getDate()).padStart(2, '0')}T${String(now.getHours()).padStart(2, '0')}:${String(now.getMinutes()).padStart(2, '0')}`;
inputElement.value = formattedDateTime; inputElement.value = formattedDateTime;
const distinput = <HTMLInputElement>document.querySelector('#distance_in_km');
distinput.value = "";
const destinput= <HTMLInputElement>document.querySelector('#destination');
destinput.dispatchEvent(new Event('input'));
},false); },false);
choiceObjects[boatSelect.id] = boatChoice; choiceObjects[boatSelect.id] = boatChoice;