mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-16 19:18:52 +01:00
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