mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-25 10:45:41 +03:00
Turns out lastStatusAt is a date, no time
This commit is contained in:
parent
e9cd02e5e9
commit
458fb7bbbe
1 changed files with 7 additions and 2 deletions
|
@ -515,10 +515,15 @@ function RelatedActions({ info, instance, authenticated }) {
|
|||
<p class="actions">
|
||||
{followedBy ? (
|
||||
<span class="tag">Following you</span>
|
||||
) : (
|
||||
) : !!lastStatusAt ? (
|
||||
<span class="insignificant">
|
||||
Last status: <RelativeTime datetime={lastStatusAt} format="micro" />
|
||||
Last status:{' '}
|
||||
{niceDateTime(lastStatusAt, {
|
||||
hideTime: true,
|
||||
})}
|
||||
</span>
|
||||
) : (
|
||||
<span />
|
||||
)}{' '}
|
||||
<span class="buttons">
|
||||
<Menu
|
||||
|
|
Loading…
Reference in a new issue