feat: shows session expiry datetime instead of just date (#313)

Co-authored-by: Gancho Radkov <ganchoradkov@gmail.com>
This commit is contained in:
Gancho Radkov 2023-10-18 15:39:21 +03:00 committed by GitHub
parent 5e09e9deb1
commit 57e476edd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -138,12 +138,16 @@ export default function SessionPage() {
<Row justify="space-between">
<Text h5>Expiry</Text>
<Text css={{ color: '$gray400' }}>{expiryDate.toDateString()}</Text>
<Text css={{ color: '$gray400' }}>
{expiryDate.toDateString()} - {expiryDate.toLocaleTimeString()}
</Text>
</Row>
<Row justify="space-between">
<Text h5>Last Updated</Text>
<Text css={{ color: '$gray400' }}>{updated.toDateString()}</Text>
<Text css={{ color: '$gray400' }}>
{updated.toDateString()} - {updated.toLocaleTimeString()}
</Text>
</Row>
<Row css={{ marginTop: '$10' }}>