From 07e6e2ddd9ccb29a08a3e9da42a6842d4ec84b3c Mon Sep 17 00:00:00 2001 From: Fionn Date: Sat, 30 Mar 2024 11:02:04 +0100 Subject: [PATCH] change profile page times to formatted time --- src/frontend/src/pages/Profile.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontend/src/pages/Profile.tsx b/src/frontend/src/pages/Profile.tsx index ca1380f..bf17673 100644 --- a/src/frontend/src/pages/Profile.tsx +++ b/src/frontend/src/pages/Profile.tsx @@ -94,8 +94,8 @@ export default function ProfilePage() { 'Last name': user.lastName, 'VATSIM CID': user.cid, 'vACDM User ID': user._id, - 'First Seen': user.createdAt, - 'Last updated': user.updatedAt, + 'First Seen': time.formatDateTime(user.createdAt), + 'Last updated': time.formatDateTime(user.updatedAt), }).map(([label, value]) => {label}{value})}