From 79ef2ac48211900543e75f170d57a99d8a180fba Mon Sep 17 00:00:00 2001 From: Loic Masi Date: Thu, 9 Apr 2026 12:16:44 +0200 Subject: [PATCH] #199 : changement du format de date pour postgresql. --- .../Areas/Administration/Controllers/TitreController.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Webzine.WebApplication/Areas/Administration/Controllers/TitreController.cs b/Webzine.WebApplication/Areas/Administration/Controllers/TitreController.cs index 0f19327..8186cc2 100644 --- a/Webzine.WebApplication/Areas/Administration/Controllers/TitreController.cs +++ b/Webzine.WebApplication/Areas/Administration/Controllers/TitreController.cs @@ -141,6 +141,7 @@ public class TitreController : Controller return this.View(form); } + model.DateSortie = DateTime.Parse(model.DateSortie.ToString()); this.titreAdminService.CreerTitre(model); return this.RedirectToAction("Index"); }