Permalink
Browse files

Merge pull request #65 from danielksb/master

Fixed incorrect date when selecting previous month
  • Loading branch information...
xdan committed Feb 27, 2014
2 parents 3d48510 + 14b24e8 commit ff8a3d04afae6a45ab0792c6c5622812151ca118
Showing with 1 addition and 1 deletion.
  1. +1 −1 jquery.datetimepicker.js
View
@@ -870,8 +870,8 @@
return false;
currentTime.setFullYear( $this.data('year') );
- currentTime.setDate( $this.data('date') );
currentTime.setMonth( $this.data('month') );
+ currentTime.setDate( $this.data('date') );
datetimepicker.trigger('select.xdsoft',[currentTime]);
input.val( _xdsoft_datetime.str() );

0 comments on commit ff8a3d0

Please sign in to comment.