This is a migrated thread and some comments may be shown as answers.

DateTimePicker bug?

1 Answer 217 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 18 Jun 2015, 05:53 PM

You can see this but in your own demo: http://demos.telerik.com/kendo-ui/datepicker/index

In the first DateTimePicker, for "Show e-mails from:" enter the following for the date: 

12/31/20000003

Now, tab out of the DateTimePicker box. It re-formats the date to "12/31/2000" which, in my opinion, is great.

However, if you enter this date, it doesn't have the same behavior:

12/31/21000003

We are seeing this same behavior in our use of the control, and would like it to behave consistently. Any advice on how to get that to work?

 

 

1 Answer, 1 is accepted

Sort by
0
Plamen Lazarov
Telerik team
answered on 22 Jun 2015, 12:41 PM

Hello Jason,

This ticket seems to be duplicate of the one in the support thread you have opened. However the solution may be useful for other users too, that's why I will post the answer here as well.

The reason for the observed behavior is that the "12/31/2100" is out of the DatePicker's default range. In order to be able to parse bigger dates you need to expand the date selection range using the max property. Please refer to the example below. 

http://dojo.telerik.com/@c0re/AyaTE

Regards,

Plamen Lazarov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Date/Time Pickers
Asked by
Jason
Top achievements
Rank 1
Answers by
Plamen Lazarov
Telerik team
Share this question
or