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

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