I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit a14ad423 authored by zzz's avatar zzz
Browse files

formatDuration tweak

parent e1a5d5e1
No related branches found
No related tags found
No related merge requests found
...@@ -871,7 +871,7 @@ public class DataHelper { ...@@ -871,7 +871,7 @@ public class DataHelper {
public static String formatDuration(long ms) { public static String formatDuration(long ms) {
if (ms < 5 * 1000) { if (ms < 5 * 1000) {
return ms + "ms"; return ms + "ms";
} else if (ms < 5 * 60 * 1000) { } else if (ms < 3 * 60 * 1000) {
return (ms / 1000) + "s"; return (ms / 1000) + "s";
} else if (ms < 120 * 60 * 1000) { } else if (ms < 120 * 60 * 1000) {
return (ms / (60 * 1000)) + "m"; return (ms / (60 * 1000)) + "m";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment