From fdccc4195b4e2b973fee21b36e727229c147904b Mon Sep 17 00:00:00 2001 From: Marc Baloup Date: Sun, 10 Oct 2021 01:16:12 +0200 Subject: [PATCH] Fix reversed values in TimeUtil --- Core/src/main/java/fr/pandacube/lib/core/util/TimeUtil.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/src/main/java/fr/pandacube/lib/core/util/TimeUtil.java b/Core/src/main/java/fr/pandacube/lib/core/util/TimeUtil.java index 342016a..c336ff3 100644 --- a/Core/src/main/java/fr/pandacube/lib/core/util/TimeUtil.java +++ b/Core/src/main/java/fr/pandacube/lib/core/util/TimeUtil.java @@ -38,8 +38,8 @@ public class TimeUtil { public static String relativeDateFr(long displayTime, boolean showSeconds, boolean compactWords) { return relativeDateFr(displayTime, - showSeconds ? RelativePrecision.MINUTES : RelativePrecision.SECONDS, - showSeconds ? DisplayPrecision.MINUTES : DisplayPrecision.SECONDS, + showSeconds ? RelativePrecision.SECONDS : RelativePrecision.MINUTES, + showSeconds ? DisplayPrecision.SECONDS : DisplayPrecision.MINUTES, compactWords); }