#199 : changement du format de date pour postgresql. 5.

This commit is contained in:
Loic Masi
2026-04-09 12:59:32 +02:00
parent 237798890b
commit 616f1ebcc0
2 changed files with 6 additions and 7 deletions

View File

@@ -45,13 +45,12 @@
<!-- DATE + DUREE -->
<div class="row mb-3 align-items-center">
<label class="col-md-3 col-form-label">Date de sortie<span class="text-danger">*</span></label>
<label class="col-md-3 col-form-label">
Date de sortie<span class="text-danger">*</span>
</label>
<div class="col-md-3">
<input type="text"
class="form-control"
name="DateSortie"
pattern="\d{2}/\d{2}/\d{4}"
value="@Model.DateSortie.ToString("d")"/>
<input asp-for="DateSortie" type="date" class="form-control" />
<span asp-validation-for="DateSortie" class="text-danger"></span>
</div>
<label class="col-md-3 col-form-label">Durée en secondes<span class="text-danger">*</span></label>