Skip to content

Commit

Permalink
Merge pull request #196 from geekingfrog/master
Browse files Browse the repository at this point in the history
fix getDate() in datepicker component
  • Loading branch information
hai-cea committed Jan 5, 2015
2 parents a8c3c08 + 2de597a commit 1bf8332
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/date-picker/date-picker.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ var DatePicker = React.createClass({
},

getDate: function() {
return this.state.value;
return this.state.date;
},

setDate: function(d) {
Expand Down Expand Up @@ -108,4 +108,4 @@ var DatePicker = React.createClass({

});

module.exports = DatePicker;
module.exports = DatePicker;

0 comments on commit 1bf8332

Please sign in to comment.