Converting comment timestamp to javascript timestamp.

This commit is contained in:
Roland 2024-02-21 12:44:21 -07:00
parent 0d6edc05d0
commit f179c5cbd9
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93

View file

@ -109,7 +109,7 @@ const VideoComment = ({comment, children}) => {
<Comment.Author as='a'><span {...t}>{comment['author']}</span></Comment.Author>
<Comment.Metadata>
<div {...t}>{comment['is_favorited'] && favoriteComment}</div>
<div {...t}>{isoDatetimeToString(comment['timestamp'])}</div>
<div {...t}>{isoDatetimeToString(comment['timestamp'] * 1000)}</div>
<div {...t}>{comment['like_count'] && likesCount}</div>
</Comment.Metadata>
<Comment.Text {...t}>{comment['text']}</Comment.Text>