0
0
Fork 0

chore: const var

This commit is contained in:
Jorge Penadés 2024-08-20 17:02:38 +02:00
parent d89d324a7e
commit 7f2407996f
1 changed files with 1 additions and 1 deletions

View File

@ -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);