Как мне сделать формат даты «дд.ММ.гггг», потому что все, что я делаю, всегда будет «ММ/дд/гггг»
Просмотр части:
Свойство модели:
[BindProperty(SupportsGet = true)]
[DataType(DataType.Date)]
[DisplayFormat(DataFormatString = "dd.MM.yyyy")]
[Display(Name = "Date from", ResourceType = typeof(string))]
public DateTime? RequestRegistrationDateFrom { get; set; }
Подробнее здесь: https://stackoverflow.com/questions/534 ... t-core-mvc