lets just show the next 6 months instead of a year at events list

This commit is contained in:
tibbi 2016-11-28 22:18:41 +01:00
parent 8ec5e795d4
commit 157ab8557d
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}