am 32d1fec5: Merge "Fixes relative time formatting issue for dates in future"

* commit '32d1fec50baaecdea34ae2a47ca808e8e4181ed2':
  Fixes relative time formatting issue for dates in future
This commit is contained in:
Dianne Hackborn
2012-08-27 12:31:49 -07:00
committed by Android Git Automerger

View File

@@ -1618,7 +1618,7 @@ public class DateUtils
String result;
long now = System.currentTimeMillis();
long span = now - millis;
long span = Math.abs(now - millis);
synchronized (DateUtils.class) {
if (sNowTime == null) {