Skip to content

Commit bf24db1

Browse files
committed
byond account age
1 parent 2861a7a commit bf24db1

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/App.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ export default function App(): React.ReactElement {
7676
<LinkColor>
7777
<Link to="/whitelists">Whitelists</Link>
7878
</LinkColor>
79+
|
80+
<LinkColor>
81+
<Link to="/new_players">New Players</Link>
82+
</LinkColor>
7983
</div>
8084
<div className="w-full md:container md:mx-auto flex flex-col foreground rounded mt-5 p-5">
8185
<Outlet />

src/components/newPlayers.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ export const NewPlayers: React.FC = () => {
4646
<tr>
4747
<th>CKEY</th>
4848
<th>Time Connected</th>
49+
<th>BYOND account age</th>
4950
<th>CID</th>
5051
<th>IP</th>
5152
</tr>
@@ -61,6 +62,11 @@ export const NewPlayers: React.FC = () => {
6162
Date.parse(player.firstJoinDate!.replace(" ", "T"))
6263
).toLocaleString()}
6364
</td>
65+
<td>
66+
{new Date(
67+
Date.parse(player.byondAccountAge!.replace(" ", "T"))
68+
).toLocaleString()}
69+
</td>
6470
<td>
6571
<DetailedCid cid={player.lastKnownCid} />
6672
</td>

0 commit comments

Comments
 (0)