Completed
Last Updated: 12 Mar 2021 17:33 by ADMIN
Release 2.23.0
Dean
Created on: 30 Jan 2020 13:47
Category: DateTimePicker
Type: Feature Request
25
Time intervals larger than second

Is there any way to display the DateTimePicker and for the time picker to display time intervals of less than one second?  For example every 15 minutes?

 

Select a time:

15:00

15:15

15:30

15:45

etc?

15 comments
ADMIN
Marin Bratanov
Posted on: 08 Feb 2021 14:31

Hi Andrew,

The tentative plan is end of March.

 

Regards,
Marin Bratanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Andrew
Posted on: 08 Feb 2021 14:29
do we have an eta for the release of 2.23.0
ADMIN
Marin Bratanov
Posted on: 05 Feb 2021 13:55

Hi Brent,

If you define a Format that does not have those spinners, the values for the corresponding portions will remain what you define in the Value field, so the user won't be able to modify them. Moreover, you can catch any changes in the ValueChanged event and alter the value as needed. Lastly, you can also use the Min and Max parameters to limit all segments as desired.

 

Regards,
Marin Bratanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Brent
Posted on: 04 Feb 2021 21:07
I have another consideration for when limiting the TimePicker to an Hourly increment. You may want to allow for a single fixed value for the wheels of lower orders of the time field (in this case Minutes and Seconds).  That value may be most commonly a zero (00) for most applications, but it could also be 59 for both minute and second controls when asking for and end time of a time range.
Mark
Posted on: 04 Feb 2021 20:43
Sorry ignore that last comment, it certainly is doing that on the DateTimePicker also, so if the time intervals are done this would work as I was hoping.
Mark
Posted on: 04 Feb 2021 20:42
Hi Marin, that is for the TimePicker and there is no such feature in the DateTimePicker, if the scheduled item includes this change then perfect :)
ADMIN
Marin Bratanov
Posted on: 04 Feb 2021 07:34

Hello Mark,

You already have that option, see the docs articles I linked:

The time format specifiers in the Format control the tumblers available in the dropdown. For example, the HH specifier will result in a hour selector in a 24 hour format. If you also add the tt specifier, you will also get the AM/PM tumbler, but the 24 hour format will still be used. This means that you can also add several tumblers for the same time portion if the format string repeats them.

It is the Format you set to the component that defines which tumblers will be present, so you can remove the seconds easily, for example the following will have hours, minutes and am/pm tumblers, but no seconds:

 

Selected time: @selectedTime?.ToLongTimeString()
<br />

<TelerikTimePicker Min="@Min" Max="@Max" Format="hh:mm tt" @bind-Value="@selectedTime"></TelerikTimePicker>

@code  {
    private DateTime? selectedTime = DateTime.Now;

    // only the time portions are used
    public DateTime Min = new DateTime(1900, 1, 1, 8, 15, 0);
    public DateTime Max = new DateTime(1900, 1, 1, 19, 30, 45);
}

 

Regards,
Marin Bratanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Mark
Posted on: 03 Feb 2021 22:00
Another option would be to allow us to specify which sliders are relevant, i.e. ShowMinutes=true, ShowSeconds=false or similar. It'll cause user confusion if there is a time picker where you can only select in 10 minute increments if we show them seconds too.
ADMIN
Marin Bratanov
Posted on: 03 Feb 2021 13:41

Hello Mark,

While I don't know yet how this feature will be exposed (this can only be determined after the necessary research is made), I am not sure it will control the available slider (or tumblers). They are controlled by the format and there is one for each segment of the time format (You can read more on this at the end of the Time Picker overview docs article).

Regards,
Marin Bratanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Mark
Posted on: 03 Feb 2021 01:18
Can you make sure for this new feature that if we specify say a 15 minute interval, there are no seconds slider and if we pick 2 hours as interval to not show the minutes slider as it wouldn't make sense for these to be visible in the case where they aren't modifyable,
ADMIN
Marin Bratanov
Posted on: 07 May 2020 12:28

Hi Brent,

Thank you for your feedback. Indeed, this page is to track a feature that will let you do just that - decide which times to show in the spinners (instead of all of them). The discussion on the design we had with Al does not change that.

 

Regards,
Marin Bratanov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Brent
Posted on: 06 May 2020 20:37

I'm new to this conversation and to Telerik and Blazor for that matter. I think the wheel design for the control is fine, I'd just like to be able to preset the list that is in the wheel controls for each component (Hour, Minute, Second). If minute wheel could expose it's list of values then you could populate it for the specialized purpose 15 minute increments or 20 minute increments. This would prevent the user from having to scroll through 45 values instead of 3 (00,15,30,45) and prevents having to wait for the validation routine to possibly reject the time entry when not at a required interval. My application has reason to set the hours or seconds list as well for possibly 2 hour intervals or 3 hour intervals. Would be a nice feature.

Regards,

Brent

ADMIN
Marin Bratanov
Posted on: 17 Mar 2020 09:22

Hi Al,

I am sorry that you do not like the current design that we use. We chose it because it provides a more modern look and feel for your apps, while it also reduces the work the user needs to do - if they only want to change the minutes, the need to change only the minutes scroller, instead of wading through all the hours until they get to the current one. We believe this to be an improvement over previous designs.

Controlling how many items each scroller will have can, indeed, be useful, especially for the minutes and seconds that have many items, and this is what this feature will bring.

 

Regards,
Marin Bratanov
Progress Telerik

 UI for Blazor
Al
Posted on: 16 Mar 2020 20:01

From a previous post to emphasize the size of this issue is for me:

"I’m getting very negative feedback to the usability of the Blazor datetime control versus the Razor control. Please hear that loud and clear. Your controls usually make me look good, this one does not."

Not only is this control a large step backward in usability, the one thing that is being considered to lesson the impact is not even planned to implement. This is a very negative mark on me and Telerik. Please reconsider the importance of this item.

ADMIN
Marin Bratanov
Posted on: 30 Jan 2020 14:10

Hi Dean,

I moved this idea to the Feedback portal so you can Follow its status: https://feedback.telerik.com/blazor/1451572-time-intervals-larger-than-second.

At the moment, there is no such feature in the component, I'm afraid.

 

Regards,
Marin Bratanov
Progress Telerik

 UI for Blazor