fixed wrong formatting on playtime

This commit is contained in:
Elias Müller 2025-02-01 23:01:28 +01:00
parent 4d98d7aa75
commit c56f318f1c

View File

@ -35,7 +35,7 @@ public class DataSizeConverter {
seconds %= 60;
minutes %= 60;
hours %= 60;
hours %= 24;
return String.format("%dd%dh%dm%ds", days, hours, minutes, seconds);
}
@ -48,7 +48,7 @@ public class DataSizeConverter {
seconds %= 60;
minutes %= 60;
hours %= 60;
hours %= 24;
return String.format("%dd %dh %dm %ds", days, hours, minutes, seconds);
}