Skip to content

Commit

Permalink
Merge pull request #822 from matiaslarsson/patch-1
Browse files Browse the repository at this point in the history
TimePicker now correctly checks for defaultTime instead of defaultDate
  • Loading branch information
Hai Nguyen committed Jun 11, 2015
2 parents c0c5822 + a097e9a commit 80ddf50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/time-picker/time-picker.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ var TimePicker = React.createClass({

var defaultInputValue;

if (this.props.defaultDate) {
if (this.props.defaultTime) {
defaultInputValue = this.formatTime(this.props.defaultTime);
}

Expand Down

0 comments on commit 80ddf50

Please sign in to comment.