Turns out lastStatusAt is a date, no time

This commit is contained in:
Lim Chee Aun 2023-03-19 15:24:15 +08:00
parent e9cd02e5e9
commit 458fb7bbbe

View file

@ -515,10 +515,15 @@ function RelatedActions({ info, instance, authenticated }) {
<p class="actions"> <p class="actions">
{followedBy ? ( {followedBy ? (
<span class="tag">Following you</span> <span class="tag">Following you</span>
) : ( ) : !!lastStatusAt ? (
<span class="insignificant"> <span class="insignificant">
Last status: <RelativeTime datetime={lastStatusAt} format="micro" /> Last status:{' '}
{niceDateTime(lastStatusAt, {
hideTime: true,
})}
</span> </span>
) : (
<span />
)}{' '} )}{' '}
<span class="buttons"> <span class="buttons">
<Menu <Menu