Changed date format for older timestamps

This commit is contained in:
Moez Bhatti
2017-12-21 03:17:30 -05:00
parent fcbbbac312
commit b746ca39ee
@@ -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)
}