day of hard work with xkirsch #2

This commit is contained in:
2024-12-10 23:02:58 +01:00
parent 6c55c1701c
commit 72fb73cb5f
18 changed files with 841 additions and 64 deletions

View File

@@ -1,6 +1,6 @@
function openReservationForm() {
const now = new Date();
const formattedDate = now.toLocaleDateString('cs-CZ', { day: '2-digit', month: '2-digit', year: 'numeric' });
const formattedDate = now.toISOString().split('T')[0]; // Format date as YYYY-MM-DD
document.getElementById('date').value = formattedDate;
document.getElementById('reservationForm').style.display = 'block';
}