1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-21 20:44:18 +00:00

🐛 Display post_time under tweets

This commit is contained in:
Steffo 2021-05-26 22:54:15 +02:00
parent f7d21c1e9f
commit f5dcf4e1ec
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -31,7 +31,7 @@ export default function SummaryTweet({ tweet, ...props }) {
<SummaryLeft
icon={icon}
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"]}`)}
/>
<SummaryText>