forked from upstream-mirrors/quik
Changed date format for older timestamps
This commit is contained in:
@@ -33,7 +33,7 @@ class DateFormatter @Inject constructor(val context: Context) {
|
||||
now.isSameDay(then) -> getFormatter("h:mm a")
|
||||
now.isSameWeek(then) -> getFormatter("E h:mm a")
|
||||
now.isSameYear(then) -> getFormatter("MMM d, h:mm a")
|
||||
else -> getFormatter("d/MM/yy h:mm a")
|
||||
else -> getFormatter("MMMM d yyyy, h:mm a")
|
||||
}.format(date)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user