bug? with format and init date
Closed this issue · 1 comments
flopp26 commented
Hi,
I init picker with
date: 2018-07-05 12:00,
format: 'YYYY-MM-DD HH:mm',
when I use getDate(), I get :
2018-07-05T10:00:35.695Z
so everything is ok, but when I use this :
date: 2018-07-05 12:00,
format: 'HH:mm',
I get the current date and not the date initialized.
what do you think ?
fengyuanchen commented
Just use getDate(true)
.