Datepicker Region dd / mm / yyyy MVC [closed]

1

Good estimates: I have a theme with the validation of the Date of Birth,

  • I have the datepicker set to show the date in dd / mm / yyyy format But when I enter the Input, the validation of the Data Annotations jumps and validates me as mm / dd / yyyy. Try changing it in webconfig with a format:  [DisplayFormat (ApplyFormatInEditMode = true, DataFormatString="{0: dd / MM / yyyy}")]
  • But nothing works ... it's more now I end up choosing to show a Date "October / 31/2017" and it allows me even having the data Anotations.

        
    asked by Maximiliano Cesán 20.10.2017 в 20:45
    source

    0 answers