We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfcae4d commit 4f55685Copy full SHA for 4f55685
src/views/Audit/AuditLogsView.vue
@@ -4,7 +4,17 @@
4
<DataTable data-key="id" :value="store.entries">
5
<Column field="createdAt" header="Timestamp">
6
<template #body="slotProps">
7
- {{ new Date(slotProps.data.createdAt).toLocaleString() }}
+ {{
8
+ new Date(slotProps.data.createdAt).toLocaleString('en-GB', {
9
+ weekday: 'long',
10
+ year: 'numeric',
11
+ month: 'long',
12
+ day: 'numeric',
13
+ hour: 'numeric',
14
+ minute: 'numeric',
15
+ second: 'numeric',
16
+ })
17
+ }}
18
</template>
19
</Column>
20
<Column field="userName" header="Name" />
0 commit comments