This commit is contained in:
Naveen 2023-07-22 22:57:08 +05:30
parent 5bdd5e8cec
commit 400c8003e5
No known key found for this signature in database
GPG Key ID: 0E155DAD31671DA3
1 changed files with 1 additions and 1 deletions

View File

@ -816,7 +816,7 @@ fun Context.getShortDaysFromBitmask(bitMask: Int): String {
fun <T> Context.withFirstDayOfWeekToFront(weekItems: Collection<T>): ArrayList<T> {
val firstDayOfWeek = config.firstDayOfWeek
if (firstDayOfWeek != DateTimeConstants.MONDAY) {
if (firstDayOfWeek == DateTimeConstants.MONDAY) {
return weekItems.toMutableList() as ArrayList<T>
}