use thursdays for determining week numbers
This commit is contained in:
parent
fdb7a46c44
commit
03a11ff99b
2 changed files with 2 additions and 2 deletions
|
@ -243,7 +243,7 @@ class MainActivity : SimpleActivity(), EventListFragment.DeleteListener {
|
|||
val endMonthName = Formatter.getMonthName(this, endDateTime.monthOfYear)
|
||||
title = "$startMonthName - $endMonthName"
|
||||
}
|
||||
supportActionBar?.subtitle = "${getString(R.string.week)} ${startDateTime.weekOfWeekyear.toString()}"
|
||||
supportActionBar?.subtitle = "${getString(R.string.week)} ${startDateTime.plusDays(3).weekOfWeekyear}"
|
||||
}
|
||||
|
||||
private fun fillYearlyViewPager() {
|
||||
|
|
|
@ -165,7 +165,7 @@ class MonthFragment : Fragment(), MonthlyCalendar {
|
|||
|
||||
for (i in 0..5) {
|
||||
(mHolder.findViewById(mRes.getIdentifier("week_num_$i", "id", mPackageName)) as TextView).apply {
|
||||
text = "${days[i * 7].weekOfYear}:"
|
||||
text = "${days[i * 7 + 3].weekOfYear}:"
|
||||
setTextColor(mWeakTextColor)
|
||||
beVisibleIf(displayWeekNumbers)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue