don't show time stamp within the last 6 hours of a new day
This commit is contained in:
parent
c2bc15f5ba
commit
bb065020ff
|
@ -78,7 +78,7 @@ public class UIHelper {
|
|||
} else if (difference < 60 * 15) {
|
||||
return context.getString(R.string.minutes_ago,
|
||||
Math.round(difference / 60.0));
|
||||
} else if (today(date) || difference < 6 * 60 * 60) {
|
||||
} else if (today(date)) {
|
||||
java.text.DateFormat df = DateFormat.getTimeFormat(context);
|
||||
return df.format(date);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue