A new Timepicker is now available. It brings a few bug fixes only, no new features.
- IE bug fix when parsing datetime
- Simplify min/max constraints in _setTime
- Better constraints from setting time from field
- Improve parsing datetime
- Fix default timezone issue
You can grab the latest version from the Documentation or Github.


2 Responses
Vimm
Oct 01, 2012Love your Timepicker Addon. I found two scenarios in the “Restrict a start and end date” example that aren’t covered though.
1: User pastes an invalid date
If a date is set, reverts to previous date. If no date is set, invalid text is retained.
2: User deletes the date text
Corresponding minDate / maxDate is not cleared.
I’m also getting an error 403 trying to download 1.0.4 here:
http://trentrichardson.com/examples/timepicker/jquery-ui-timepicker-addon.js
Andrew
Oct 03, 2012If my input field has a value assigned before the datetimepicker is attached, the value is being dropped. For instance, I may have a textbox with a value of “October 03, 2012 5:00 PM”. If I then attached the datetimepicker to that textbox the value is dropped. However, if I instead attached a normal jquery datepicker to the input box the date remains in tact. I need this behaviour as we have server side objects that are mapped to front-end controls that have preset values. Is there anyway to maintain the existing value when attaching a datetimepicker to an input?