Just wanted to update on the timepicker addon. I’ve had trouble keeping up with all the submitted code for features and bug fixes I saw it as a good idea to add timepicker to Github. I’m still a bit new to Github, so please bear with me as I’m just getting my feet under me. Hopefully now instead of going through blog posts grabbing snippets of code there will be a more organized way of updating and keeping up with changes to the timepicker addon.
Also after I get fairly familiar with it I am considering moving all my little projects over to it (uberuploadcropper, Impromptu, iframer, etc..). I hope this works best in the long run. Many people have submitted code but I just can’t find the time to integrate it all in a timely manor. I hope this improves the turnaround rate for updates!
Related posts:




11 Responses
Claudio Barca
09|Jul|2010Hello,
I have two questions around your datetimepicker v.05:
1) on event onSelect: function(dateStr, inst)…
dateStr don’t contain the picked time part;
2) I have testing it on simple page with 2 datepicker (fromDate, ToDate).
The OnClose event don’t fire when I leave the fromDate field and point directly mouse
cursor on ToDate field.
Any suggestion ? Thank you, regards
Claudio
Jeff
17|Aug|2010Very good addon, nice job Trent and thanks.
Jeff
17|Aug|2010Finally, I have a problem with the timepicker: any events, except for the done button, don’t work, like switching month, or the use of shortkey…
I am searching why since many hours now, because the standard datepicker from jqueryui is working very well.
I’m under jquery ui 1.7.3, for the core, the slider and the picker. I see in your example that you use 1.8; have you ever try under 1.7.3 ?
Thanks!
Jorge
22|Aug|2010I confirm what Jeff says. Dropdowns aren’t working nor change month buttons.. Any suggestions?
Thanks…
Jorge
22|Aug|2010I think I found the solution.. getDate method relaunch the events and picks the input date again, so it’s looped
On line 266 change:
var dt = this.$input.datepicker(‘getDate’);
with:
var dt=new Date(dp_inst.selectedYear, dp_inst.selectedMonth,dp_inst.selectedDay);
Regards,
Jorge.
Dimitri
30|Aug|2010Great addon. Thanks for sharing. But i have problem when changing months, it won’t change. Can’t figure out why. What version of jQuery UI is the addon supposed to extend?
Barry Carlyon
30|Aug|2010Great addon, working fine in jQuery and jQuery UI latest.
I do have one suggestion.
With datepicker you can use altField, to put the selected date in another field, in my case, I’m putting the Unix timestamp in another field.
If would be nice if timepicker can update the unix timestamp accordingly…
and/or support the altField
Barry Carlyon
30|Aug|2010And @everyone I can change months…
Perhaps your jQuery UI is out of date…
brad peek
01|Sep|2010I’m getting the following JS error when the page displays:
Error: ‘datepicker’ is null or not an object
on line:
$.datepicker._selectDate=function(id,dateStr){var target=$(id);
It’s a dotNet site w/ quite a bit of existing JQuery, styling, etc… Any advice would be appreciated!
me
02|Sep|2010Trent,
I think you are legend mate. What you done is awesome
good luck
Joakim
14|Sep|2010Thank you for writing this addon!!!
Karma++