Добавил дату создания

This commit is contained in:
Rinsvent 2023-01-16 23:10:38 +07:00
parent dda51972bb
commit a22ec5a2b2

View File

@ -116,6 +116,7 @@ export default function Processes() {
<TableCell>Progress</TableCell>
<TableCell>Status</TableCell>
<TableCell>Action</TableCell>
<TableCell>Created</TableCell>
</TableRow>
</TableHead>
<TableBody>
@ -164,6 +165,9 @@ export default function Processes() {
<DeleteForever/>
</IconButton>}
</TableCell>
<TableCell title={new Date(process.createdAt).toLocaleString()}>
{new Date(process.createdAt).toLocaleDateString()}
</TableCell>
</TableRow>
))}
</TableBody>