Show time in messages previous days

This commit is contained in:
kruks23 2014-07-08 21:13:53 +02:00
parent 0372756754
commit 71324261e5
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ public class UIHelper {
private static final int FG_COLOR = 0xFFFAFAFA; private static final int FG_COLOR = 0xFFFAFAFA;
private static final int TRANSPARENT = 0x00000000; private static final int TRANSPARENT = 0x00000000;
private static final int DATE_NO_YEAR_FLAGS = DateUtils.FORMAT_SHOW_DATE private static final int DATE_NO_YEAR_FLAGS = DateUtils.FORMAT_SHOW_DATE
| DateUtils.FORMAT_NO_YEAR | DateUtils.FORMAT_ABBREV_ALL; | DateUtils.FORMAT_NO_YEAR | DateUtils.FORMAT_SHOW_TIME | DateUtils.FORMAT_ABBREV_ALL;
public static String readableTimeDifference(Context context, long time) { public static String readableTimeDifference(Context context, long time) {
if (time == 0) { if (time == 0) {