mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-02-22 22:47:45 +01:00
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() {
|
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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user