Make UtilTime#convertString treat all <= -1 as Permanent instead of == -1

This commit is contained in:
Spencer 2018-01-02 17:11:42 -05:00 committed by Alexander Meech
parent f6e0174c70
commit c4f51efb4d
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ public class UtilTime
public static String convertString(long time, int trim, TimeUnit type) public static String convertString(long time, int trim, TimeUnit type)
{ {
if (time == -1) return "Permanent"; if (time <= -1) return "Permanent";
if (type == TimeUnit.FIT) if (type == TimeUnit.FIT)
{ {