diff options
author | Hanno Zulla <hanno.zulla@epublica.de> | 2013-04-16 15:49:32 +0200 |
---|---|---|
committer | Hanno Zulla <hanno.zulla@epublica.de> | 2013-04-16 15:49:32 +0200 |
commit | 63cd69d06be983ee2575d941f33efa0fc0190f35 (patch) | |
tree | b961bb23b7f018438d39bb7ef39a5498e7ca8db6 /src/de/danoeh/antennapod | |
parent | 7688265451a0bb67ce7688223b3c91a17ba19d0b (diff) | |
download | AntennaPod-63cd69d06be983ee2575d941f33efa0fc0190f35.zip |
removed a_moment_ago (looks silly and is hard to translate properly)
Diffstat (limited to 'src/de/danoeh/antennapod')
-rw-r--r-- | src/de/danoeh/antennapod/util/Converter.java | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/de/danoeh/antennapod/util/Converter.java b/src/de/danoeh/antennapod/util/Converter.java index 7ca291919..995eed119 100644 --- a/src/de/danoeh/antennapod/util/Converter.java +++ b/src/de/danoeh/antennapod/util/Converter.java @@ -82,15 +82,10 @@ public final class Converter { return String.format("%02d:%02d", h, m); } - /** Converts milliseconds to a relative time span, - * will return "a moment ago" if it's less than a minute ago */ + /** Converts milliseconds to a relative time span, */ public static String getRelativeTimeSpanString(Context context, long millis) { long now = System.currentTimeMillis(); - if (now - millis <= 60 * 1000) { - return context.getString(R.string.a_moment_ago); - } else { - return DateUtils.getRelativeTimeSpanString( - millis, now, 0, 0).toString(); - } + return DateUtils.getRelativeTimeSpanString( + millis, now, 0, 0).toString(); } } |