diff --git a/src/components/meetingBlock.vue b/src/components/meetingBlock.vue index ca2c711..1e2047c 100644 --- a/src/components/meetingBlock.vue +++ b/src/components/meetingBlock.vue @@ -269,7 +269,7 @@ if (dateStr.length === 10 && timeStr.length === 5) { const newDate = date.extractDate(`${dateStr} ${timeStr}`, 'DD/MM/YYYY HH:mm') if (!isNaN(newDate.getTime())) { - modelValue.value.meet_date = newDate.getTime() / 1000 + modelValue.value.meet_date = Math.floor(newDate.getTime() / 1000) } } } diff --git a/src/components/taskBlock.vue b/src/components/taskBlock.vue index a860d8c..744ea58 100644 --- a/src/components/taskBlock.vue +++ b/src/components/taskBlock.vue @@ -331,7 +331,7 @@ if (dateStr.length === 10 && timeStr.length === 5) { const newDate = date.extractDate(`${dateStr} ${timeStr}`, 'DD/MM/YYYY HH:mm') if (!isNaN(newDate.getTime())) { - modelValue.value.plan_date = newDate.getTime() / 1000 + modelValue.value.plan_date = Math.floor(newDate.getTime() / 1000) } } }