fixed wrong formatting on playtime
This commit is contained in:
parent
4d98d7aa75
commit
c56f318f1c
@ -35,7 +35,7 @@ public class DataSizeConverter {
|
|||||||
|
|
||||||
seconds %= 60;
|
seconds %= 60;
|
||||||
minutes %= 60;
|
minutes %= 60;
|
||||||
hours %= 60;
|
hours %= 24;
|
||||||
return String.format("%dd%dh%dm%ds", days, hours, minutes, seconds);
|
return String.format("%dd%dh%dm%ds", days, hours, minutes, seconds);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -48,7 +48,7 @@ public class DataSizeConverter {
|
|||||||
|
|
||||||
seconds %= 60;
|
seconds %= 60;
|
||||||
minutes %= 60;
|
minutes %= 60;
|
||||||
hours %= 60;
|
hours %= 24;
|
||||||
|
|
||||||
return String.format("%dd %dh %dm %ds", days, hours, minutes, seconds);
|
return String.format("%dd %dh %dm %ds", days, hours, minutes, seconds);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user