Last Updated: 07 Oct 2020 12:45 by ADMIN
Created by: Raff
Comments: 7
Category: DateTimePickers
Type: Bug Report



I'm having an issue with the TimePickerFor control, it doesn't show the time, only a strange format.


When I declare the control:

            @(Html.Kendo().TimePickerFor(m => m.ShiftStartDt)


it only shows a forma of "h:mm tt" instead of the time from the model


When I change the control to a datetime picker, it works fine but I don't want to see the date, only the time.

This works:

            @(Html.Kendo().DateTimePickerFor(m => m.ShiftStartDt)


I have debugged the model and the data is correct,

        [Display(Name = "Start Time")]
        public DateTime ShiftStartDt { get; set; }


I have even tried changing the model to TimeSpan but it didn't help

I tried setting the format also on the control and using jquery:

            format: "HH:mm"


still always shows "h:mm tt" always, no matter what I do




Last Updated: 19 Jun 2020 09:11 by ADMIN
Release 2020.R2.SP1
Created by: Bruno
Comments: 1
Category: DateTimePickers
Type: Bug Report

using DateTimePicker new features  .ComponentType("modern") in french localization, the new feature are show in english and not in french.