mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-24 01:32:17 -05:00
changed 'show time threshold' to 6h
This commit is contained in:
parent
e7a0040ec5
commit
f6649ef838
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user