Client: Better datetime field support

This commit is contained in:
Donkie
2023-05-14 20:06:44 +02:00
parent 43919ac90e
commit caa25ccf93
10 changed files with 24 additions and 16 deletions

View File

@@ -87,7 +87,9 @@ export const FilamentList: React.FC<IResourceComponentsProps> = () => {
<Table.Column
dataIndex={["registered"]}
title="Registered"
render={(value: any) => <DateField value={value} />}
render={(value) => (
<DateField value={value} format="YYYY-MM-DD HH:mm:ss" />
)}
/>
<Table.Column dataIndex={["comment"]} title="Comment" />
<Table.Column