Malliapi, Chris (UK - London)
2015-04-11 547b92d082d2bfe1adbeeb16fdf9db4bbb8d91f3
reverse fix
1 files modified
2 ■■■ changed files
src/DateTimeField.jsx 2 ●●● patch | view | raw | blame | history
src/DateTimeField.jsx
@@ -42,7 +42,7 @@
      },
      viewDate: moment(this.props.dateTime, this.props.format, true).startOf("month"),
      selectedDate: moment(this.props.dateTime, this.props.format, true),
      inputValue: typeof this.props.defaultText == 'undefined' ?  this.props.defaultText : moment(this.props.dateTime, this.props.format, true).format(this.props.inputFormat)
      inputValue: typeof this.props.defaultText != 'undefined' ?  this.props.defaultText : moment(this.props.dateTime, this.props.format, true).format(this.props.inputFormat)
    };
  },
  componentWillReceiveProps: function(nextProps) {