diff --git a/components/DateInput.vue b/components/DateInput.vue index f03279ba..7ba78919 100644 --- a/components/DateInput.vue +++ b/components/DateInput.vue @@ -272,7 +272,7 @@ export default { this.$emit('input', { ...this.value, from, due }) } else { let from = value - let due = this.value.due || from + let due = this.value.due if (this.fromHour) { const [hour, minute] = this.fromHour.split(':') from = dayjs.tz(value).hour(hour).minute(minute).second(0).toDate()