From f6b5c8409dcd6fadbcc8f9591267da8fff34bde5 Mon Sep 17 00:00:00 2001 From: Rsl1122 Date: Wed, 6 Jun 2018 09:51:39 +0300 Subject: [PATCH] Small fixes to player page introduced a few commits ago --- .../plan/system/webserver/pages/parsing/InspectPage.java | 2 +- .../plan/utilities/html/structure/ServerAccordion.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Plan/src/main/java/com/djrapitops/plan/system/webserver/pages/parsing/InspectPage.java b/Plan/src/main/java/com/djrapitops/plan/system/webserver/pages/parsing/InspectPage.java index 6310321d6..01c593c72 100644 --- a/Plan/src/main/java/com/djrapitops/plan/system/webserver/pages/parsing/InspectPage.java +++ b/Plan/src/main/java/com/djrapitops/plan/system/webserver/pages/parsing/InspectPage.java @@ -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); diff --git a/Plan/src/main/java/com/djrapitops/plan/utilities/html/structure/ServerAccordion.java b/Plan/src/main/java/com/djrapitops/plan/utilities/html/structure/ServerAccordion.java index 1276a8223..92e390e55 100644 --- a/Plan/src/main/java/com/djrapitops/plan/utilities/html/structure/ServerAccordion.java +++ b/Plan/src/main/java/com/djrapitops/plan/utilities/html/structure/ServerAccordion.java @@ -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)