mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
lets just show the next 6 months instead of a year at events list
This commit is contained in:
@@ -52,7 +52,7 @@ class EventListFragment : Fragment(), DBHelper.GetEventsListener, DBHelper.Event
|
|||||||
|
|
||||||
private fun checkEvents() {
|
private fun checkEvents() {
|
||||||
val fromTS = (DateTime().millis / 1000).toInt()
|
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)
|
DBHelper(context).getEvents(fromTS, toTS, this)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user