Unplanned
Last Updated: 19 Jun 2020 12:58 by ADMIN
Created by: Raff
Comments: 7
Category: DateTimePickers
Type: Bug Report
0

Hi,

 

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)
                .Deferred()
            )

 

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)
                .Deferred()
            )

 

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:

        $("#ShiftStartDt").kendoTimePicker({
            format: "HH:mm"
        });

 

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

 

Regards

Raff

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

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

 

Unplanned
Last Updated: 27 Mar 2020 21:26 by ADMIN
Created by: Ram
Comments: 0
Category: DateTimePickers
Type: Feature Request
2
I'd like to request the functionality to be able to type through to each section of the Kendo UI DatePicker instead of pressing the left and right arrows automatically.
Unplanned
Last Updated: 01 Jul 2019 15:35 by ADMIN
Created by: Karim
Comments: 3
Category: DateTimePickers
Type: Feature Request
6

Hey,

It would be very useful if the TimePicker component would have a feature called something like "AutoFocusTime()". By default, when there is no value inside the TimePicker, the default focused time is "12:00 am", therefore the user has to scroll up all the way to the required time. With the feature above, it would be possible to enter a time which should be focused by default. For example "8:00 am" which is when most businesses start operating.

Now the question is, why not just putting in a default value. Well, in a form with lots of inputs, the user may not know anymore which values he entered and which inputs have a default value set and therefore submitting wrong data. If a input doesn't have a default value this mistake can be caught by setting a [Required] attribute. Threfore, the user has to enter a value and it will be guaranteed that all values where entered by him and it wasn't a default value which has been set.

See ticket id 1412837.