Small fixes to player page introduced a few commits ago

This commit is contained in:
Rsl1122 2018-06-06 09:51:39 +03:00
parent 8ca6a8df4d
commit f6b5c8409d
2 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,7 @@ public class InspectPage extends Page {
addValue("playerName", playerName);
addValue("kickCount", timesKicked);
addValue("toLastSeen", lastSeen != 0 ? FormatUtils.formatTimeStampYear(lastSeen) : "-");
addValue("lastSeen", lastSeen != 0 ? FormatUtils.formatTimeStampYear(lastSeen) : "-");
PerServerContainer perServerContainer = container.getValue(PlayerKeys.PER_SERVER).orElse(new PerServerContainer());
PerServerDataMutator perServerDataMutator = new PerServerDataMutator(perServerContainer);

View File

@ -99,7 +99,7 @@ public class ServerAccordion extends AbstractAccordion {
.addRowBold("blue", "superpowers", "Operator", opeator ? "Yes" : "No")
.addRowBold("red", "gavel", "Banned", banned ? "Yes" : "No")
.addRowBold("light-green", "user-plus", "Registered",
registered != 0 ? FormatUtils.formatTimeStampDay(registered) : "Not registered")
registered != 0 ? FormatUtils.formatTimeStampYear(registered) : "Not registered")
.addBreak()
.addRowBold("teal", "calendar-check-o", "Sessions", sessionCount)
.addRowBold("green", "clock-o", "Server Playtime", play)