From b16219a9beaded8ffb43a821a5ab71d8b39567be Mon Sep 17 00:00:00 2001 From: Joan <28685152+breadsanta@users.noreply.github.com> Date: Sun, 20 Jun 2021 23:28:21 +0200 Subject: [PATCH] Fixes #1361 --- .../calendar/pro/fragments/MonthDayFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/fragments/MonthDayFragment.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/fragments/MonthDayFragment.kt index 6f815478b..7e9bf017c 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/fragments/MonthDayFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/fragments/MonthDayFragment.kt @@ -181,7 +181,7 @@ class MonthDayFragment : Fragment(), MonthlyCalendar, RefreshRecyclerViewListene override fun refreshItems() { val startDateTime = Formatter.getLocalDateTimeFromCode(mDayCode).minusWeeks(1) - val endDateTime = startDateTime.plusWeeks(6) + val endDateTime = startDateTime.plusWeeks(7) activity?.eventsHelper?.getEvents(startDateTime.seconds(), endDateTime.seconds()) { events -> mListEvents = events activity?.runOnUiThread {