changed 'show time threshold' to 6h

This commit is contained in:
iNPUTmice 2014-07-11 13:55:29 +02:00
parent e7a0040ec5
commit f6649ef838
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ public class UIHelper {
} else if (difference < 60 * 15) { } else if (difference < 60 * 15) {
return context.getString(R.string.minutes_ago, return context.getString(R.string.minutes_ago,
Math.round(difference / 60.0)); Math.round(difference / 60.0));
} else if (today(date) || difference < 12 * 60 * 60) { } else if (today(date) || difference < 6 * 60 * 60) {
java.text.DateFormat df = DateFormat.getTimeFormat(context); java.text.DateFormat df = DateFormat.getTimeFormat(context);
return df.format(date); return df.format(date);
} else { } else {