mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-28 23:44:19 +00:00
🐛 Display post_time under tweets
This commit is contained in:
parent
f7d21c1e9f
commit
f5dcf4e1ec
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ export default function SummaryTweet({ tweet, ...props }) {
|
||||||
<SummaryLeft
|
<SummaryLeft
|
||||||
icon={icon}
|
icon={icon}
|
||||||
title={`@${tweet["poster"]}`}
|
title={`@${tweet["poster"]}`}
|
||||||
subtitle={new Date(tweet["insert_time"]).toLocaleString()}
|
subtitle={tweet["post_time"] ? new Date(tweet["post_time"]).toLocaleString() : null}
|
||||||
onClick={() => window.open(`https://twitter.com/${tweet["poster"]}/status/${tweet["snowflake"]}`)}
|
onClick={() => window.open(`https://twitter.com/${tweet["poster"]}/status/${tweet["snowflake"]}`)}
|
||||||
/>
|
/>
|
||||||
<SummaryText>
|
<SummaryText>
|
||||||
|
|
Loading…
Reference in a new issue