Fix dateInput format of DatePicker, close #1403

This commit is contained in:
afc163 2016-04-13 14:36:43 +08:00
parent 9a7a620ec7
commit 455d3654b8
2 changed files with 2 additions and 0 deletions

View File

@ -129,6 +129,7 @@ export default React.createClass({
return (<span className={pickerClass} style={style}>
<DatePicker
formatter={this.getFormatter()}
transitionName={transitionName}
disabled={disabled}
calendar={calendar}

View File

@ -93,6 +93,7 @@ function createPicker(TheCalendar, defaultFormat) {
const calendar = (
<TheCalendar
formatter={this.getFormatter()}
disabledDate={this.props.disabledDate}
disabledTime={disabledTime}
locale={locale.lang}