mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-30 20:06:22 -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
|
|
@ -29,7 +29,7 @@ import {
|
|||
SearchInput,
|
||||
TabLinks,
|
||||
textEllipsis,
|
||||
uploadDate,
|
||||
epochToDateString,
|
||||
useTitle
|
||||
} from "./Common";
|
||||
import {deleteArchives, postDownload} from "../api";
|
||||
|
|
@ -151,7 +151,7 @@ function ArchivePage() {
|
|||
<ExternalCardLink to={singlefileUrl}>
|
||||
<Header as='h2'>{textEllipsis(archive.title || archive.url, 100)}</Header>
|
||||
</ExternalCardLink>
|
||||
<Header as='h3'>{uploadDate(archive.archive_datetime)}</Header>
|
||||
<Header as='h3'>{epochToDateString(archive.archive_datetime)}</Header>
|
||||
{domainHeader}
|
||||
{urlHeader}
|
||||
|
||||
|
|
@ -208,7 +208,7 @@ export function ArchiveCard({file}) {
|
|||
</CardLink>}
|
||||
<CardMeta {...s}>
|
||||
<p>
|
||||
{uploadDate(archive.archive_datetime)}
|
||||
{epochToDateString(archive.archive_datetime)}
|
||||
</p>
|
||||
</CardMeta>
|
||||
<CardDescription>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue