Skip to content

Commit

Permalink
change profile page times to formatted time
Browse files Browse the repository at this point in the history
  • Loading branch information
dotFionn committed Mar 30, 2024
1 parent 7b301cb commit 07e6e2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/frontend/src/pages/Profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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]) => <tr key={label}><th className='text-left pe-4' scope='row'>{label}</th><td>{value}</td></tr>)}
</tbody>
</table>
Expand Down

0 comments on commit 07e6e2d

Please sign in to comment.