feat(komoot): prefill import date range with current year

Signed-off-by: Marcus Fihlon <marcus@fihlon.swiss>
This commit is contained in:
Marcus Fihlon 2026-04-29 14:14:58 +02:00
parent 70e7632699
commit 8a900ccd30
Signed by: McPringle
GPG key ID: C6B7F469EE363E1F
2 changed files with 7 additions and 2 deletions

View file

@ -56,11 +56,11 @@
<div class="row g-3">
<div class="col-md-6">
<label for="startDate" class="form-label">Start Date</label>
<input type="date" class="form-control" id="startDate" name="startDate">
<input type="date" class="form-control" id="startDate" name="startDate" th:value="${defaultStartDate}">
</div>
<div class="col-md-6">
<label for="endDate" class="form-label">End Date</label>
<input type="date" class="form-control" id="endDate" name="endDate">
<input type="date" class="form-control" id="endDate" name="endDate" th:value="${defaultEndDate}">
</div>
</div>
<div class="form-text">Both dates must be set together. Inclusive, day-based filter.</div>