Console: Convert update versions to times for debug page

This commit is contained in:
zzz
2021-04-05 08:34:22 -04:00
parent 4acf0ecd05
commit 857f52bbf7

View File

@@ -1678,6 +1678,11 @@ public class ConsoleUpdateManager implements UpdateManager, RouterApp {
@Override
public String toString() {
if (version.length() == 13) {
try {
return "Version " + version + " (" + DataHelper.formatTime(Long.parseLong(version)) + ')';
} catch (NumberFormatException nfe) {}
}
return "Version " + version;
}
}