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

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

6 Answers 66 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 20 May 2013, 01:20 PM
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

6 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 21 May 2013, 08:29 AM
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!
0
David
Top achievements
Rank 1
answered on 21 May 2013, 05:28 PM
Thank you for the explanation and example Georgi, it is just what I needed.
0
Reese
Top achievements
Rank 1
answered on 23 Sep 2014, 01:27 AM
Hi Georgi,

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

thanks
0
Kiril Nikolov
Telerik team
answered on 24 Sep 2014, 12:31 PM
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!
 
0
Reese
Top achievements
Rank 1
answered on 25 Sep 2014, 12:10 AM
yes, Thanks Kiril
0
Kiril Nikolov
Telerik team
answered on 25 Sep 2014, 07:00 AM
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!
 
Tags
Date/Time Pickers
Asked by
David
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
David
Top achievements
Rank 1
Reese
Top achievements
Rank 1
Kiril Nikolov
Telerik team
Share this question
or