handle time-zone change in weekly-view
This commit is contained in:
parent
1296e37f25
commit
2bbc8980a2
|
@ -418,7 +418,7 @@ class MainActivity : SimpleActivity(), NavigationListener {
|
|||
private fun getWeekTimestamps(targetWeekTS: Int): List<Int> {
|
||||
val weekTSs = ArrayList<Int>(PREFILLED_WEEKS)
|
||||
for (i in -PREFILLED_WEEKS / 2..PREFILLED_WEEKS / 2) {
|
||||
weekTSs.add(targetWeekTS + i * WEEK_SECONDS)
|
||||
weekTSs.add(Formatter.getDateTimeFromTS(targetWeekTS).plusWeeks(i).seconds())
|
||||
}
|
||||
return weekTSs
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue