diff --git a/pages/index.vue b/pages/index.vue index 8240ed5d..04537f70 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -88,7 +88,7 @@ export default { if (this.selectedDay) { const min = this.selectedDay.startOf('day').toUnixInteger() const max = this.selectedDay.endOf('day').toUnixInteger() - return this.events.filter(e => (e.start_datetime <= max && (e.end_datetime || e.start_datetime) >= min) && (this.filter.show_recurrent || !e.parentId)) + return this.events.filter(e => (e.start_datetime <= max && (e.end_datetime || (e.start_datetime + 1)) > min) && (this.filter.show_recurrent || !e.parentId)) } else if (this.isCurrentMonth && !this.filter.query) { return this.events.filter(e => { const max_datetime = Math.max(e.start_datetime, e.end_datetime)