Skip to content
This repository has been archived by the owner on Dec 24, 2024. It is now read-only.

Commit

Permalink
feat(vod/card) show time if more ui details enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Zibbp committed Apr 1, 2023
1 parent c5f12a1 commit da5e81c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/Vod/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,10 @@ export const VodCard = ({ vod, playback }: any) => {
).toLocaleString()}`}
>
<Text className={classes.infoBarText}>
{dayjs(vod.streamed_at).format("YYYY/MM/DD")}
{dayjs(vod.streamed_at).format("YYYY/MM/DD")}{" "}
{user.settings.moreUIDetails && (
<span>{dayjs(vod.streamed_at).format("LT")}</span>
)}
</Text>
</Tooltip>
<div className={classes.infoBarRight}>
Expand Down

0 comments on commit da5e81c

Please sign in to comment.