ScansOverview full month formatting

This commit is contained in:
Philipp Dormann 2023-05-01 14:42:56 +02:00
parent 064197d222
commit 69ec7fc1fe
Signed by: philipp
GPG Key ID: 3BB9ADD52DCA4314

View File

@ -86,7 +86,17 @@
accessorKey: "timestamp",
header: () => $_("timestamp"),
cell: (info) => {
return new Date(parseInt(info.getValue()) * 1000).toLocaleString();
return new Date(parseInt(info.getValue()) * 1000).toLocaleString(
{ language: "de-DE" },
{
day: "2-digit",
month: "2-digit",
year: "numeric",
hour: "2-digit",
minute: "2-digit",
second: "2-digit",
}
);
},
enableColumnFilter: false,
},
@ -184,7 +194,9 @@
dataLoaded = true;
page++;
if(pagesize < 1000){pagesize += 100;}
if (pagesize < 1000) {
pagesize += 100;
}
}
});
</script>