The issue is that when the input is empty and you select any date other current date then the date in the input is set to the current date.
For example if today is 2014-01-13 and I select 2014-01-16 from the datepicker then the input is updated with 2014-01-13 instead of the proper value of 2014-01-16.
I have JSFiddle that shows this issue http://jsfiddle.net/9wmDp/.
The issue is that when the input is empty and you select any date other current date then the date in the input is set to the current date.
For example if today is 2014-01-13 and I select 2014-01-16 from the datepicker then the input is updated with 2014-01-13 instead of the proper value of 2014-01-16.