Unplanned
Last Updated: 30 Apr 2025 07:43 by ADMIN
Kendo UI
Created on: 21 Feb 2025 08:41
Category: DateInput
Type: Feature Request
5
Handle dates that fall on Daylight Saving Time

Currently, it is not possible to enter a date that falls exactly on a Daylight Saving time.

Check the following example where it is not possible to enter 3 for the hours' section (it is also not possible to select 3 from the TimePicker popup):

https://stackblitz.com/edit/angular-nstdolh5-xfiws9nr

That behavior is expected as there is no such time in the Bulgarian time zone. Daylight saving time begins on 30 March 2025 03:00 when the time is moved 1 hour forward.

The demonstrated undesired behavior for the specific date will be reproducible only if the example is opened in the specified time zone. But the same behavior is valid for any other date that falls on Daylight Saving time in other time zones.

We should decide on what the expected behavior is for such cases. For example not allowing entering the value, displaying an error, auto-switching to the real hour (4 AM), etc.

8 comments
ADMIN
Yanmario
Posted on: 30 Apr 2025 07:43

Hi Daniel,

I tested with Czech culture and timezone the following example with updated versions of our components, and the issue was not reproduced. I will attach the screen recordings with screenshots.

Since this is a feature request thread, create an example using the latest versions where the issue can be reproduced. Provide clear steps along with details about your machine, operating system, format settings, language, culture, browser, and version.

Then open an issue in our public repository so it can be tested and tracked properly. This thread is for feature requests and not suited for discussing unrelated potential bugs. 

Regards,
Yanmario
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Attached Files:
Daniel
Posted on: 23 Apr 2025 13:30

Hi Martin, 

thank you for your response.

I think that it is also related to the culture settings of your computer. I attached a video of what happens if I try to use it with Czech culture settings. When I try to type number "2" on the day, it automatically changes number to "3" and does not allow me to continue.

Best regards,
Daniel

Attached Files:
ADMIN
Martin Bechev
Posted on: 04 Apr 2025 10:33

Hello Daniel,

I am attaching a screen recording of the DateTimePicker and insertion of two-digit hour (20, 22, etc.).

Regards,
Martin Bechev
Progress Telerik

Enjoyed our products? Share your experience on G2 and receive a $25 Amazon gift card for a limited time!

Attached Files:
Daniel
Posted on: 04 Apr 2025 10:24

Hi Martin,


thank you for the provided code snippet. I tried the demo but it does not allow me to type numbers "20", "21", "22", "23" in the hours. Please try to do so.


Regards,
Daniel

ADMIN
Martin Bechev
Posted on: 04 Apr 2025 08:58

Hi Daniel,

If the 24-hour time format needs to be used, set the format option of the component explicitly:

 <kendo-datetimepicker format="M/d/yyyy H:mm"></kendo-datetimepicker>

By default, the format is determined by the locale. If AM/PM is shown, then the 12-hour time format is used, but this can be changed explicitly by using the above property. Here is the updated demo:

https://stackblitz.com/edit/angular-nstdolh5-dkp3evy9?file=src%2Fapp%2Fapp.component.ts

Regards,


Martin Bechev
Progress Telerik

Enjoyed our products? Share your experience on G2 and receive a $25 Amazon gift card for a limited time!

Daniel
Posted on: 04 Apr 2025 07:21

Hi Martin,

the input does not allow you to enter valid input if you use 24 hours scheme as is in some countries more common.

Specifically, you can't se on the specific days time from 20:00 to 23:59.

I hope that it is more clear what I meant.

 

Best regards,
Daniel

ADMIN
Martin Bechev
Posted on: 27 Mar 2025 07:41

Hi Daniel,

Thank you for the provided feedback.

The user is not expected to select 3:00 AM as a valid time. The feature request focuses on how to properly notify the user about this restriction, whether through a popup notification, automatically switching the time from 3:00 AM to 4:00 AM, or another method.

Currently, 3:00 AM is disabled in both the time picker popup and keyboard input without any visual indication explaining why it cannot be selected.

The user can still select any other time, except for the range between 3:00 AM and 3:59 AM.

Regards,
Martin Bechev
Progress Telerik

Enjoyed our products? Share your experience on G2 and receive a $25 Amazon gift card for a limited time!

Daniel
Posted on: 20 Mar 2025 10:01
I think this is not a feature but a bug since it does not allow user to input a correct time (despite the fact that while starting to type it is evaluated as not valid).