diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-09-22 11:00:46 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-09-22 11:00:46 +0200 |
commit | bb065020ff6145adf8fb2726928f11e0ea7140b6 (patch) | |
tree | 67612c2b31eda5e1b39330d1e27f046c60b1f74a /src/eu/siacs/conversations/utils | |
parent | c2bc15f5bacd636d3a6ffefe43c057022018e1d2 (diff) |
don't show time stamp within the last 6 hours of a new day
Diffstat (limited to 'src/eu/siacs/conversations/utils')
-rw-r--r-- | src/eu/siacs/conversations/utils/UIHelper.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eu/siacs/conversations/utils/UIHelper.java b/src/eu/siacs/conversations/utils/UIHelper.java index 3a191b9a..f6e66cdb 100644 --- a/src/eu/siacs/conversations/utils/UIHelper.java +++ b/src/eu/siacs/conversations/utils/UIHelper.java @@ -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 { |