Fixing game history finish time showing as an incorrect date
This commit is contained in:
@@ -61,7 +61,7 @@ public class GameHistoryRequestHandler extends LotroServerRequestHandler impleme
|
||||
gameHistory.setAttribute("count", String.valueOf(recordCount));
|
||||
gameHistory.setAttribute("playerId", resourceOwner.getName());
|
||||
|
||||
var formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd");
|
||||
var formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm");
|
||||
|
||||
for (DBDefs.GameHistory game : playerGameHistory) {
|
||||
Element historyEntry = doc.createElement("historyEntry");
|
||||
|
||||
@@ -35,7 +35,7 @@ var GameHistoryUI = Class.extend({
|
||||
var loser = historyEntry.getAttribute("loser");
|
||||
var winReason = historyEntry.getAttribute("winReason");
|
||||
var loseReason = historyEntry.getAttribute("loseReason");
|
||||
var endTime = formatDate(new Date(parseInt(historyEntry.getAttribute("endTime"))));
|
||||
var endTime = historyEntry.getAttribute("endTime"); //formatDate(new Date(parseInt(historyEntry.getAttribute("endTime"))));
|
||||
var gameRecordingId = historyEntry.getAttribute("gameRecordingId");
|
||||
|
||||
var row = $("<tr></tr>");
|
||||
|
||||
Reference in New Issue
Block a user