mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
changed the player history to reflect correct timezone
added result count to find clients only show unique aliases on profile page some rcon socket changes
This commit is contained in:
@ -12,8 +12,8 @@
|
||||
animationEnabled: true,
|
||||
toolTip: {
|
||||
contentFormatter: function (e) {
|
||||
var date = new Date(e.entries[0].dataPoint.x);
|
||||
return date.toLocaleTimeString('en-US', { timeZone: 'America/New_York', hour12: true }) + " - " + e.entries[0].dataPoint.y + " players";
|
||||
const date = moment.utc(e.entries[0].dataPoint.x);
|
||||
return date.local().format('h:mm A') + " - " + e.entries[0].dataPoint.y + " players";
|
||||
}
|
||||
},
|
||||
axisX: {
|
||||
@ -86,4 +86,4 @@ function refreshClientActivity() {
|
||||
});
|
||||
}
|
||||
|
||||
setInterval(refreshClientActivity, 2000);
|
||||
setInterval(refreshClientActivity, 2000);
|
||||
|
Reference in New Issue
Block a user