mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-03 05:09:58 -05:00
Info JSON epoch is time of download, not time of upload.
This commit is contained in:
parent
ad405d30cd
commit
9ffe6ee3f6
7 changed files with 16 additions and 69 deletions
|
|
@ -14,7 +14,7 @@ import {
|
|||
SearchInput,
|
||||
TabLinks,
|
||||
textEllipsis,
|
||||
uploadDate,
|
||||
epochToDateString,
|
||||
useTitle
|
||||
} from "./Common"
|
||||
import VideoPage from "./VideoPlayer";
|
||||
|
|
@ -310,7 +310,7 @@ export function VideoCard({file}) {
|
|||
const {s} = useContext(ThemeContext);
|
||||
|
||||
let video_url = `/videos/video/${video.id}`;
|
||||
const upload_date = uploadDate(video.upload_date);
|
||||
const upload_date = epochToDateString(video.upload_date);
|
||||
// A video may not have a channel.
|
||||
const channel = video.channel ? video.channel : null;
|
||||
let channel_url = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue