Fix reversed values in TimeUtil

This commit is contained in:
Marc Baloup 2021-10-10 01:16:12 +02:00
parent f183d1ebef
commit fdccc4195b
Signed by: marcbal
GPG Key ID: BBC0FE3ABC30B893

View File

@ -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);
}