DateTime Picker 'Today' link no longer setting its value to the current time when there is no initial value

7 posts, 0 answers
  1. David
    David avatar
    13 posts
    Member since:
    Dec 2012

    Posted 20 May 2013 Link to this post

    In version 2013.1.319 clicking the Today link when the input has no initial value sets the datetime value to today's date and the current time: http://jsfiddle.net/digiblue/n6GtT/

    In version 2013.1.514 clicking the Today link when the input has no initial value sets the date to today but the time is set to midnight: http://jsfiddle.net/digiblue/fFKkJ/ rather than the current time.

    In my application I needed to upgrade to 2013.1.514 to fix a different issue, but now have this new issue. Is there a way to resolve it?

    Thank you
  2. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3707 posts

    Posted 21 May 2013 Link to this post

    Hello David,

     
    We needed to change the behavior of the Today button in order to fix an issue related with min/max values and current day - "Today link is disabled if max value has different hours than zero". You can achieve your goal implementing click event manually. Check the jsFiddle demo.

    Regards,
    Georgi Krustev
    the Telerik team
    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
  4. David
    David avatar
    13 posts
    Member since:
    Dec 2012

    Posted 21 May 2013 Link to this post

    Thank you for the explanation and example Georgi, it is just what I needed.
  5. Reese
    Reese avatar
    2 posts
    Member since:
    Feb 2014

    Posted 22 Sep 2014 in reply to Georgi Krustev Link to this post

    Hi Georgi,

    are you able to post your example again, the jsfiddle link no longer works....

    thanks
  6. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 24 Sep 2014 Link to this post

    Hello Reese,

    Is this the example that you are looking for?

    http://jsbin.com/pepeziyadaco/1/edit

    Regards,
    Kiril Nikolov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  7. Reese
    Reese avatar
    2 posts
    Member since:
    Feb 2014

    Posted 24 Sep 2014 in reply to Kiril Nikolov Link to this post

    yes, Thanks Kiril
  8. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 25 Sep 2014 Link to this post

    Hello Reese,

    I am happy to hear that this was the example that you are looking for.

    In case you have any further questions, please do not hesitate to contact us.

    Regards,
    Kiril Nikolov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top
Kendo UI is VS 2017 Ready