trentrichardson / jQuery-Timepicker-Addon

Adds a timepicker to jQueryUI Datepicker
http://trentrichardson.com/examples/timepicker/
MIT License
2.67k stars 1.05k forks source link

getDate() returns old date after changing input value manually by user #788

Open anikolaev opened 9 years ago

anikolaev commented 9 years ago

Please see JSBin here: http://jsbin.com/xepipatipa/1/edit?html,js,output

  1. Click at input field and select any date
  2. In input field replace day to another one (e.g. from "01/01/15" to "01/02/15"). // The date in the label is not updated
  3. Replace day again (e.g. from "01/02/15" to "01/03/15"). // "01/02/15" is shown.

If we do the same for hours or minutes it works immediately as expected. Clean DatePicker also updates the value immediately.

Please offer some workaround if soon fix is not possible.