mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-29 04:38:55 +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">
|
<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
|
||||||
|
|
Loading…
Reference in a new issue