Merge branch 'master' of https://github.com/merelendor/evoleasing-account
This commit is contained in:
commit
77dfb3b368
@ -156,7 +156,7 @@ export default class CalendarDatePicker extends React.Component
|
||||
parse={ this._parse }
|
||||
id={ id }
|
||||
placeholder={ placeholder }
|
||||
value={ value !== "" && value !== undefined && value !== null ? new Date(Date.parse(moment(value).utc().format('YYYY-MM-DD 00:00:00'))) : null }
|
||||
value={ value !== "" && value !== undefined && value !== null ? new Date(Date.parse(moment(value, "YYYY-MM-DD").format('YYYY-MM-DD 00:00:00'))) : null }
|
||||
min={ min !== undefined ? new Date(Date.parse(moment(min).format('YYYY-MM-DD 00:00:00'))) : undefined }
|
||||
max={ max !== undefined ? new Date(Date.parse(moment(max).format('YYYY-MM-DD 00:00:00'))) : undefined }
|
||||
onChange={ this._handle_onChange }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user