Im triying to validade a datetime field with inobstrusive validation.
If the input is 01/01/2017 10:00
then I get
The field [fieldId] must be a date.
However the field must not be a date, but a datetime.
The parameter is set like this in my model:
[Display(Name = "Start")]
[DataType(DataType.DateTime)]
public DateTime start { get; set; }
I was not able to correctally validate a field with datetime input.
How can I do this?