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

* commit '4763989d95342c25e9b857dc9ee21eb5ebac31d6':
  Fixes relative time formatting issue for dates in future
This commit is contained in:
Dianne Hackborn
2012-08-27 12:33:57 -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) {