mirror of
https://github.com/wgh136/nysoure.git
synced 2025-12-16 07:51:14 +00:00
Fix created time of files.
This commit is contained in:
@@ -778,7 +778,7 @@ function FileTile({ file }: { file: RFile }) {
|
|||||||
)}
|
)}
|
||||||
<Badge className={"badge-soft badge-info text-xs mr-2"}>
|
<Badge className={"badge-soft badge-info text-xs mr-2"}>
|
||||||
<MdOutlineAccessTime size={16} className={"inline-block"} />
|
<MdOutlineAccessTime size={16} className={"inline-block"} />
|
||||||
{new Date(file.created_at).toISOString().substring(0, 10)}
|
{new Date(file.created_at * 1000).toISOString().substring(0, 10)}
|
||||||
</Badge>
|
</Badge>
|
||||||
<DeleteFileDialog fileId={file.id} uploaderId={file.user.id} />
|
<DeleteFileDialog fileId={file.id} uploaderId={file.user.id} />
|
||||||
<UpdateFileInfoDialog file={file} />
|
<UpdateFileInfoDialog file={file} />
|
||||||
|
|||||||
Reference in New Issue
Block a user