Skip to content

Commit eb2e9a2

Browse files
authored
Merge pull request #2 fix issue #1
#1 fix date display issue and update mid sdk support to 23
2 parents facf40c + e684083 commit eb2e9a2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composeNepaliDate/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ android {
77
compileSdk 32
88

99
defaultConfig {
10-
minSdk 26
10+
minSdk 23
1111
targetSdk 32
1212

1313
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

composeNepaliDate/src/main/java/np/com/kirangyawali/composeNepaliDate/ui/date/NepaliDatePicker.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ private fun MonthDaysView(
308308
val isEnabled = (date in minDate..maxDate) && !(disableDays?.contains(date) ?: false)
309309

310310
MonthDayViewItem(
311-
day = stringArrayResource(id = R.array.days)[day-1],
311+
day = displayWithLocale(day),
312312
isSelected = selectedItem == day,
313313
isHighlight = highlightDays?.contains(date) == true,
314314
isEnabled = isEnabled,

0 commit comments

Comments
 (0)