Skip to content

Commit

Permalink
fixed #291
Browse files Browse the repository at this point in the history
  • Loading branch information
kvyatkovskys committed Oct 29, 2022
1 parent 4b53c6a commit 545b5ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/KVKCalendar/MonthData.swift
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ final class MonthData: EventDateProtocol {
var displayableEvents = [Event]()
let updatedDays = days.reduce([], { (acc, day) -> [Day] in
var newDay = day
let filteredEventsByDay = events.filter { compareStartDate(day.date, with: $0) && !$0.isAllDay }
let filteredEventsByDay = events.filter { (compareStartDate(day.date, with: $0) || checkMultipleDate(day.date, with: $0, checkMonth: true)) && !$0.isAllDay }
let filteredAllDayEvents = events.filter { $0.isAllDay }
let allDayEvents = filteredAllDayEvents.filter {
compareStartDate(day.date, with: $0)
Expand Down

0 comments on commit 545b5ba

Please sign in to comment.