I have a lot of problems with that date format of ion-datetime. I only want to pass the date field that is in the format '2017-01-01 04:39:00' to ion-datetime but I get a format error. I've spent several hours trying to solve this and nothing appears
We declare the variable and in the constructor we match it
then in the html
Result
the problem is when you try a date like this
2020-12-01 03:25:00
ie yyyy-MM-dd hh:mm:ss
I would think that the best option is to manage the date and time separately