Kendo Timepickerfor formatting not working
问题 I have an MVC Kendo Timepicker for that I am using. It works fine except that I can't format the time to Military time. After I add the formatting for Military time, once I select the time the validation doesn't pass and it tells me it must be a date. Is there a way to format the TimePickerFor to allow military time? @using Kendo.Mvc.UI @model DateTime? @(Html.Kendo().TimePickerFor(m=>m) .Value(@Model) .Min("05:00") .Max("00:00") .Format("{0:HHmm}") ) Update: This doesn't work with format