don't show time stamp within the last 6 hours of a new day

This commit is contained in:
iNPUTmice 2014-09-22 11:00:46 +02:00
parent c2bc15f5ba
commit bb065020ff
1 changed files with 1 additions and 1 deletions

View File

@ -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 {