mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 05:29:37 +08:00
Fix dateInput format of DatePicker, close #1403
This commit is contained in:
parent
9a7a620ec7
commit
455d3654b8
@ -129,6 +129,7 @@ export default React.createClass({
|
||||
|
||||
return (<span className={pickerClass} style={style}>
|
||||
<DatePicker
|
||||
formatter={this.getFormatter()}
|
||||
transitionName={transitionName}
|
||||
disabled={disabled}
|
||||
calendar={calendar}
|
||||
|
@ -93,6 +93,7 @@ function createPicker(TheCalendar, defaultFormat) {
|
||||
|
||||
const calendar = (
|
||||
<TheCalendar
|
||||
formatter={this.getFormatter()}
|
||||
disabledDate={this.props.disabledDate}
|
||||
disabledTime={disabledTime}
|
||||
locale={locale.lang}
|
||||
|
Loading…
Reference in New Issue
Block a user