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

* commit 'aae4943297a08a659add964a3fef96bdfa0b2c14':
  Fixes relative time formatting issue for dates in future
This commit is contained in:
Dianne Hackborn
2012-08-27 13:10:58 -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) {