From 458fb7bbbefb920723c4d87915d44629b9e27228 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Sun, 19 Mar 2023 15:24:15 +0800 Subject: [PATCH] Turns out lastStatusAt is a date, no time --- src/components/account-info.jsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/account-info.jsx b/src/components/account-info.jsx index 3938b1c0..9f7c3695 100644 --- a/src/components/account-info.jsx +++ b/src/components/account-info.jsx @@ -515,10 +515,15 @@ function RelatedActions({ info, instance, authenticated }) {

{followedBy ? ( Following you - ) : ( + ) : !!lastStatusAt ? ( - Last status: + Last status:{' '} + {niceDateTime(lastStatusAt, { + hideTime: true, + })} + ) : ( + )}{' '}