Make UtilTime#convertString treat all <= -1 as Permanent instead of == -1
This commit is contained in:
parent
f6e0174c70
commit
c4f51efb4d
@ -207,7 +207,7 @@ public class UtilTime
|
||||
|
||||
public static String convertString(long time, int trim, TimeUnit type)
|
||||
{
|
||||
if (time == -1) return "Permanent";
|
||||
if (time <= -1) return "Permanent";
|
||||
|
||||
if (type == TimeUnit.FIT)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user