N
N
Nikolai Khoziashev2021-07-13 15:29:21
Vue.js
Nikolai Khoziashev, 2021-07-13 15:29:21

How to set default time in date-time-picker in vue.js?

<date-time-picker v-model="data" ... />

In this case, data is a string with full information, how can I pull only the time and set it to 00:00 by default?
Thanks)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
tantumus21, 2021-07-13
@tantumus21

so write directly there 00:00. Why rip out a piece of the string that indicates the time, if you change it anyway?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question