mirror of
https://github.com/openMF/mifos-mobile.git
synced 2026-02-06 11:26:51 +00:00
fix(core): correct date format to include day instead of month number (#3043)
This commit is contained in:
parent
75dbc74713
commit
99c8d68587
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user