Use british time format
This commit is contained in:
@@ -472,7 +472,7 @@ function getPlayerInfoCommand(command, params, client) {
|
|||||||
["Account", `${getPlayerData(targetClient).accountData.name}{mediumGrey}[${getPlayerData(targetClient).accountData.databaseId}]{ALTCOLOUR}`],
|
["Account", `${getPlayerData(targetClient).accountData.name}{mediumGrey}[${getPlayerData(targetClient).accountData.databaseId}]{ALTCOLOUR}`],
|
||||||
["Character", `${getCharacterFullName(targetClient)}{mediumGrey}[${getPlayerCurrentSubAccount(targetClient).databaseId}]{ALTCOLOUR}`],
|
["Character", `${getCharacterFullName(targetClient)}{mediumGrey}[${getPlayerCurrentSubAccount(targetClient).databaseId}]{ALTCOLOUR}`],
|
||||||
["Connected", `${getTimeDifferenceDisplay(getCurrentUnixTimestamp(), getPlayerData(targetClient).connectTime)} ago`],
|
["Connected", `${getTimeDifferenceDisplay(getCurrentUnixTimestamp(), getPlayerData(targetClient).connectTime)} ago`],
|
||||||
["Registered", `${registerDate.toLocaleDateString()}`],
|
["Registered", `${registerDate.toLocaleDateString("en-GB")}`],
|
||||||
["Game Version", `${targetClient.gameVersion}`],
|
["Game Version", `${targetClient.gameVersion}`],
|
||||||
["Script Version", `${scriptVersion}`],
|
["Script Version", `${scriptVersion}`],
|
||||||
["Client Version", `${getPlayerData(targetClient).clientVersion}`],
|
["Client Version", `${getPlayerData(targetClient).clientVersion}`],
|
||||||
@@ -480,7 +480,7 @@ function getPlayerInfoCommand(command, params, client) {
|
|||||||
["Skin", `${skinName}{mediumGrey}[Model: ${skinModel}/Index: ${skinIndex}]{ALTCOLOUR}`],
|
["Skin", `${skinName}{mediumGrey}[Model: ${skinModel}/Index: ${skinIndex}]{ALTCOLOUR}`],
|
||||||
["Clan", `${clan}`],
|
["Clan", `${clan}`],
|
||||||
["Job", `${job}`],
|
["Job", `${job}`],
|
||||||
["Current Date", `${currentDate.toLocaleDateString()}`],
|
["Current Date", `${currentDate.toLocaleDateString("en-GB")}`],
|
||||||
];
|
];
|
||||||
|
|
||||||
let stats = tempStats.map(stat => `{MAINCOLOUR}${stat[0]}: {ALTCOLOUR}${stat[1]} {MAINCOLOUR}`);
|
let stats = tempStats.map(stat => `{MAINCOLOUR}${stat[0]}: {ALTCOLOUR}${stat[1]} {MAINCOLOUR}`);
|
||||||
|
|||||||
Reference in New Issue
Block a user