From 866f860d5a138b682c2be9bac9c669991e15ceda Mon Sep 17 00:00:00 2001 From: Theis Gaedigk Date: Wed, 3 Sep 2025 13:14:30 +0200 Subject: [PATCH] fixed bug/issue: #11 --- admin/src/components/ItemTable.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/admin/src/components/ItemTable.tsx b/admin/src/components/ItemTable.tsx index a1c9714..acc83fe 100644 --- a/admin/src/components/ItemTable.tsx +++ b/admin/src/components/ItemTable.tsx @@ -24,6 +24,7 @@ import Cookies from "js-cookie"; import { useState, useEffect } from "react"; import { deleteItem } from "@/utils/userActions"; import AddItemForm from "./AddItemForm"; +import { formatDateTime } from "@/utils/userFuncs"; type Items = { id: number; @@ -232,7 +233,7 @@ const ItemTable: React.FC = () => { )} - {item.entry_created_at} + {formatDateTime(item.entry_created_at)}