Skip to content

Commit

Permalink
feat : show recordingDate on video thumbnails (foyzulkarim#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
aninda052 committed Jul 27, 2023
1 parent ca669cb commit 3b449af
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions client/src/sections/@dashboard/products/VideoCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default function VideoCard({ video }) {
viewCount,
durations,
status,
publishedAt,
recordingDate,
_id: id,
} = video;

Expand Down Expand Up @@ -77,7 +77,9 @@ export default function VideoCard({ video }) {
alignItems='center'
justifyContent='space-between'
>
<Typography variant='subtitle1'>{publishedAt}</Typography>
<Typography variant='subtitle1'>
<Moment format='DD/MM/yyyy'>{recordingDate}</Moment>
</Typography>
<Typography variant='subtitle1'>{viewCount} views</Typography>
<Typography variant='subtitle1'>
<Moment utc format='HH:mm:ss'>{videoDurations*1000}</Moment>
Expand Down

0 comments on commit 3b449af

Please sign in to comment.