From 521fbc77c62e9a70f373bb4ed7d1828100e327c0 Mon Sep 17 00:00:00 2001 From: Jocelyn Thode Date: Thu, 17 Apr 2014 15:47:50 +0200 Subject: [PATCH] Add time to messages when they are within the week //FREEBIE --- src/org/thoughtcrime/securesms/util/DateUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/thoughtcrime/securesms/util/DateUtils.java b/src/org/thoughtcrime/securesms/util/DateUtils.java index 690db6f5f4..229be41d30 100644 --- a/src/org/thoughtcrime/securesms/util/DateUtils.java +++ b/src/org/thoughtcrime/securesms/util/DateUtils.java @@ -27,7 +27,7 @@ public class DateUtils extends android.text.format.DateUtils { prettyDate = DateUtils.formatDateTime(c, millis, DateUtils.FORMAT_SHOW_TIME | DateUtils.FORMAT_ABBREV_TIME); } else if (isWithinWeek(millis)) { prettyDate = DateUtils.formatDateTime(c, millis, - DateUtils.FORMAT_SHOW_WEEKDAY | DateUtils.FORMAT_ABBREV_WEEKDAY); + DateUtils.FORMAT_SHOW_WEEKDAY | DateUtils.FORMAT_ABBREV_WEEKDAY | DateUtils.FORMAT_SHOW_TIME); } else if (isWithinYear(millis)) { prettyDate = DateUtils.formatDateTime(c, millis, DateUtils.FORMAT_SHOW_DATE | DateUtils.FORMAT_NO_YEAR | DateUtils.FORMAT_ABBREV_ALL);