forked from verdnatura/salix-front
chore: const var
This commit is contained in:
parent
d89d324a7e
commit
7f2407996f
|
@ -49,7 +49,7 @@ const formattedTime = computed({
|
|||
time = time.substring(0, 2) + ':' + time.substring(3, 5);
|
||||
}
|
||||
if (!props.timeOnly) {
|
||||
let [hh, mm] = time.split(':');
|
||||
const [hh, mm] = time.split(':');
|
||||
|
||||
const date = new Date(model.value ? model.value : initialDate.value);
|
||||
date.setHours(hh, mm, 0);
|
||||
|
|
Loading…
Reference in New Issue