diff --git a/res/values-de/strings.xml b/res/values-de/strings.xml index 949a51cd7..be723effe 100644 --- a/res/values-de/strings.xml +++ b/res/values-de/strings.xml @@ -21,7 +21,6 @@ Chronik löschen - Vor Kurzem Bestätigen Abbrechen Autor diff --git a/res/values/strings.xml b/res/values/strings.xml index 42d08735f..5101e410e 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -44,7 +44,6 @@ Processing Loading... Image of:\u0020 - a moment ago Feed URL 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(); } }