ui: Fix formatting template after merging #460.

This commit is contained in:
Orne Brocaar
2024-07-30 11:18:52 +01:00
parent 6a691c62e2
commit 98978135c4
8 changed files with 14 additions and 15 deletions

View File

@ -25,7 +25,7 @@ function LogTable(props: IProps) {
const onDrawerOpen = (time: { seconds: number } | undefined, body: string) => {
const ts = new Date(0);
ts.setUTCSeconds(time!.seconds);
const drawerTitle = format(ts, "YYYY-MM-DD HH:mm:ss");
const drawerTitle = format(ts, "yyyy-MM-dd HH:mm:ss");
return () => {
setBody(body);
@ -106,7 +106,7 @@ function LogTable(props: IProps) {
render: (text, obj) => {
const ts = new Date(0);
ts.setUTCSeconds(obj.time!.seconds);
return format(ts, "YYYY-MM-DD HH:mm:ss");
return format(ts, "yyyy-MM-dd HH:mm:ss");
},
},
{