From 0e8fa72f36dae465c02b0afb2be79f55014b1bd9 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Sat, 26 Feb 2022 12:58:18 +0100 Subject: [PATCH] Fix parametro x validazione input datetime x net6 --- MP.Stats/Components/InputDateTime.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/MP.Stats/Components/InputDateTime.cs b/MP.Stats/Components/InputDateTime.cs index 2aa787fd..2a6603d3 100644 --- a/MP.Stats/Components/InputDateTime.cs +++ b/MP.Stats/Components/InputDateTime.cs @@ -9,11 +9,16 @@ using System.Threading.Tasks; namespace MP.Stats.Components { + /// + /// override calsse inputdate da + /// https://github.com/dotnet/aspnetcore/issues/18078 + /// + /// public class InputDateTime : InputDate { #region Private Fields - private const string DateFormat = "yyyy-MM-ddTHH:mm"; + private const string DateFormat = "yyyy-MM-ddTHH:mm:ss"; #endregion Private Fields