Skip to content

Commit c6f8cd7

Browse files
author
Malliapi, Chris (UK - London)
committed
Merge branch 'master' into ExamplesAndBuildFix
2 parents 11a101b + 547b92d commit c6f8cd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DateTimeField.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ DateTimeField = React.createClass({
4242
},
4343
viewDate: moment(this.props.dateTime, this.props.format, true).startOf("month"),
4444
selectedDate: moment(this.props.dateTime, this.props.format, true),
45-
inputValue: typeof this.props.defaultText == 'undefined' ? this.props.defaultText : moment(this.props.dateTime, this.props.format, true).format(this.props.inputFormat)
45+
inputValue: typeof this.props.defaultText != 'undefined' ? this.props.defaultText : moment(this.props.dateTime, this.props.format, true).format(this.props.inputFormat)
4646
};
4747
},
4848
componentWillReceiveProps: function(nextProps) {

0 commit comments

Comments
 (0)