added abbrev_all to date format
This commit is contained in:
parent
99e5098780
commit
c489f368b8
|
@ -52,7 +52,7 @@ public class UIHelper {
|
||||||
private static final int BG_COLOR = 0xFF181818;
|
private static final int BG_COLOR = 0xFF181818;
|
||||||
private static final int FG_COLOR = 0xFFE5E5E5;
|
private static final int FG_COLOR = 0xFFE5E5E5;
|
||||||
private static final int TRANSPARENT = 0x00000000;
|
private static final int TRANSPARENT = 0x00000000;
|
||||||
private static final int DATE_NO_YEAR_FLAGS = DateUtils.FORMAT_SHOW_DATE | DateUtils.FORMAT_NO_YEAR;
|
private static final int DATE_NO_YEAR_FLAGS = DateUtils.FORMAT_SHOW_DATE | DateUtils.FORMAT_NO_YEAR | 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) {
|
||||||
|
|
Loading…
Reference in a new issue