diff --git a/core/common/src/commonMain/kotlin/org/mifos/mobile/core/common/DateHelper.kt b/core/common/src/commonMain/kotlin/org/mifos/mobile/core/common/DateHelper.kt index 9fcbb7584..0859d0865 100644 --- a/core/common/src/commonMain/kotlin/org/mifos/mobile/core/common/DateHelper.kt +++ b/core/common/src/commonMain/kotlin/org/mifos/mobile/core/common/DateHelper.kt @@ -74,7 +74,7 @@ object DateHelper { val inputDate = LocalDate(dateList[0], dateList[1], dateList[2]) val now = Clock.System.now().toLocalDateTime(TimeZone.currentSystemDefault()).date - val formatted = "${inputDate.month.number} ${getMonthName(inputDate.month.number)} ${inputDate.year}" + val formatted = "${inputDate.day} ${getMonthName(inputDate.month.number)} ${inputDate.year}" val today = now val yesterday = today.minus(1, DateTimeUnit.DAY)