diff --git a/src/DataTable/TemplateTable.tsx b/src/DataTable/TemplateTable.tsx index c2751c7..351ee15 100644 --- a/src/DataTable/TemplateTable.tsx +++ b/src/DataTable/TemplateTable.tsx @@ -38,6 +38,11 @@ const columns = [ header: "Category", cell: (props) => <>{props.getValue()}, }, + { + accessorKey: "timestamp", + header: "Date", + cell: (props) => <>{props.getValue().slice(0, 10)}, + }, ]; export default function TemplateTable({ data }) {