mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-02 04:46:18 -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
|
|
@ -25,7 +25,7 @@ import {
|
|||
PageContainer,
|
||||
Paginator,
|
||||
textEllipsis,
|
||||
uploadDate,
|
||||
epochToDateString,
|
||||
useTitle
|
||||
} from "./Common";
|
||||
import {useBrowseFiles, useQuery, useSearchFiles} from "../hooks/customHooks";
|
||||
|
|
@ -166,7 +166,7 @@ function ImageCard({file}) {
|
|||
</ExternalCardLink>
|
||||
</CardHeader>
|
||||
<CardMeta {...s}>
|
||||
<p>{uploadDate(file.modified / 1000)}</p>
|
||||
<p>{epochToDateString(file.modified / 1000)}</p>
|
||||
</CardMeta>
|
||||
<CardDescription {...s}>
|
||||
<p>{humanFileSize(file.size)}</p>
|
||||
|
|
@ -203,7 +203,7 @@ function FileCard({file}) {
|
|||
{textEllipsis(file.title || file.stem || file.path)}
|
||||
</ExternalCardLink>
|
||||
</CardHeader>
|
||||
<p>{uploadDate(file.modified / 1000)}</p>
|
||||
<p>{epochToDateString(file.modified / 1000)}</p>
|
||||
<p>{size}</p>
|
||||
</CardContent>
|
||||
</Card>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue