DateTime field question
-
Hello,
I try to use the q-datetime as type: “time”.
<q-datetime v-model="day.from" :format="'HH:mm'" :format-model="'string'", type="time" />
the “day.from” has the value “10:00”. The field is blank and when I try to pick the value “10:00” from the picker, the “day.from” value is “2018-04-25T10:00:00.000+02:00”
I am reading and reading the doc but I don’t understand what I do wrong.
How can I manage a string to represent an hour with the format “HH:mm” ?
Thanks in advance to people who are reading.
Best regards
Bioley Léal