Committer: vkurkin
LJSUP-11114: Incrorrect month sends if a user use a custom time.U trunk/htdocs/js/jquery/jquery.lj.entryDatePicker.js
Modified: trunk/htdocs/js/jquery/jquery.lj.entryDatePicker.js =================================================================== --- trunk/htdocs/js/jquery/jquery.lj.entryDatePicker.js 2012-02-02 10:17:28 UTC (rev 21072) +++ trunk/htdocs/js/jquery/jquery.lj.entryDatePicker.js 2012-02-02 10:46:19 UTC (rev 21073) @@ -50,8 +50,8 @@ return; } newDate.setFullYear(self.currentDate.getFullYear()); + newDate.setDate(self.currentDate.getDate()); newDate.setMonth(self.currentDate.getMonth()); - newDate.setDate(self.currentDate.getDate()); self._setEditDate(newDate); }, onChangeDate: function(evt) {