Merge "Fixes relative time formatting issue for dates in future"
This commit is contained in:
@@ -1618,7 +1618,7 @@ public class DateUtils
|
|||||||
|
|
||||||
String result;
|
String result;
|
||||||
long now = System.currentTimeMillis();
|
long now = System.currentTimeMillis();
|
||||||
long span = now - millis;
|
long span = Math.abs(now - millis);
|
||||||
|
|
||||||
synchronized (DateUtils.class) {
|
synchronized (DateUtils.class) {
|
||||||
if (sNowTime == null) {
|
if (sNowTime == null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user