Closed gaetandezeiraud closed 3 years ago
The time is always show at the listing even if [DataType(DataType.Date)] is defined in the model. I use asp.net since resently and I haven't find a way to check the DataType in the Index.cshtml to show only the date without the time.
[DataType(DataType.Date)]
Thank you!
The time is always show at the listing even if
[DataType(DataType.Date)]
is defined in the model. I use asp.net since resently and I haven't find a way to check the DataType in the Index.cshtml to show only the date without the time.