Always output minutes in uptime().
This commit is contained in:
parent
fffc51ca15
commit
12a1655d3f
1 changed files with 1 additions and 5 deletions
|
@ -273,17 +273,13 @@ public final class Utils {
|
|||
|
||||
if (days > 0) {
|
||||
info.append(days).append(plural(days, " day ", " days "));
|
||||
|
||||
}
|
||||
|
||||
if (hours > 0) {
|
||||
info.append(hours).append(plural(hours, " hour ", " hours "));
|
||||
|
||||
}
|
||||
|
||||
if (minutes > 0) {
|
||||
info.append(minutes).append(plural(minutes, " minute", " minutes"));
|
||||
}
|
||||
info.append(minutes).append(plural(minutes, " minute", " minutes"));
|
||||
|
||||
return info.toString();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue