mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 19:50:05 +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}>
|
return (<span className={pickerClass} style={style}>
|
||||||
<DatePicker
|
<DatePicker
|
||||||
|
formatter={this.getFormatter()}
|
||||||
transitionName={transitionName}
|
transitionName={transitionName}
|
||||||
disabled={disabled}
|
disabled={disabled}
|
||||||
calendar={calendar}
|
calendar={calendar}
|
||||||
|
@ -93,6 +93,7 @@ function createPicker(TheCalendar, defaultFormat) {
|
|||||||
|
|
||||||
const calendar = (
|
const calendar = (
|
||||||
<TheCalendar
|
<TheCalendar
|
||||||
|
formatter={this.getFormatter()}
|
||||||
disabledDate={this.props.disabledDate}
|
disabledDate={this.props.disabledDate}
|
||||||
disabledTime={disabledTime}
|
disabledTime={disabledTime}
|
||||||
locale={locale.lang}
|
locale={locale.lang}
|
||||||
|
Loading…
Reference in New Issue
Block a user