DateTimePicker bug?

2 posts, 0 answers
  1. Jason
    Jason avatar
    1 posts
    Member since:
    Jan 2015

    Posted 18 Jun 2015 Link to this post

    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?

     

     

  2. Plamen Lazarov
    Admin
    Plamen Lazarov avatar
    135 posts

    Posted 22 Jun 2015 Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
Back to Top