update show date
This commit is contained in:
Raymond Garciano 2021-04-04 15:17:23 +08:00
parent 3ff84f691c
commit d256f26712
1 changed files with 1 additions and 1 deletions

View File

@ -402,7 +402,7 @@ const formItemLayout = {
<Col style={{marginTop: '-5px'}}>
<DatePicker
onChange={this.onDateChange}
value={ this.state.date == '' || this.state.date == null ? "" : moment(this.state.date, 'YYYY-MM-DD HH:mm')}
value={ this.state.date == '' || this.state.date == null ? "" : moment(this.state.date)}
onOk={this.onOk}
showTime={{ format: 'HH:mm' }}
format='YYYY-MM-DD HH:mm'