my goal is simple, displaying a date from database in react datepicker. From my database, I got the string `"2019/10/26 15:05"`, but when setting it as `selected` it returned, 

> 
> Starting with v2.0.0-beta.1 date-fns doesn't accept strings as
>  arguments. Please use `parseISO` to parse strings
> 
> 
> 

```
<DatePicker
dateFormat="dd-MM-yyyy HH:mm"
showTimeSelect
timeFormat="HH:mm"
timeIntervals={1}
selectsEnd
startDate={this.state.beginDate}
endDate={this.state.endDate}
selected={this.state.endDate}
onChange={this.selectEndDate} />

```

I also tried `date-fns`'s `parseISO` but it's still not working. what should I do?