lets just show the next 6 months instead of a year at events list
This commit is contained in:
parent
8ec5e795d4
commit
157ab8557d
|
@ -52,7 +52,7 @@ class EventListFragment : Fragment(), DBHelper.GetEventsListener, DBHelper.Event
|
|||
|
||||
private fun checkEvents() {
|
||||
val fromTS = (DateTime().millis / 1000).toInt()
|
||||
val toTS = (DateTime().plusYears(1).millis / 1000).toInt()
|
||||
val toTS = (DateTime().plusMonths(6).millis / 1000).toInt()
|
||||
DBHelper(context).getEvents(fromTS, toTS, this)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue