Merge pull request #1397 from breadsanta/master

Fixes #1361, properly showing events from the next month
This commit is contained in:
Tibor Kaputa 2021-07-05 23:06:02 +02:00 committed by GitHub
commit 4d3c82a470
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 {