Skip to content

Commit

Permalink
AN inDate can be the 23rd. Bug fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
patchthecode committed Mar 12, 2019
1 parent b509a2c commit eea5725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/InternalQueryFunctions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ extension JTAppleCalendarView {
itemIndex = extraIndex
let reCalcRapth = IndexPath(item: itemIndex, section: section)
retval = reCalcRapth
} else if case 25...31 = dayIndex { // check the following month
} else if case 23...31 = dayIndex { // check the following month
let periodApart = calendar.dateComponents([.month], from: startOfMonthCache, to: date)
let monthSectionIndex = periodApart.month!
if monthSectionIndex + 1 >= monthInfo.count {
Expand Down

0 comments on commit eea5725

Please sign in to comment.