Pull Request branch dev-clone to main #1
|
|
@ -79,14 +79,17 @@ export default function UsersPage() {
|
||||||
header: "Tanggal",
|
header: "Tanggal",
|
||||||
cell: (props) =>
|
cell: (props) =>
|
||||||
props.row.original.tanggal
|
props.row.original.tanggal
|
||||||
? new Intl.DateTimeFormat("ID", {
|
? new Intl.DateTimeFormat("id-ID", {
|
||||||
year: "numeric",
|
year: "numeric",
|
||||||
month: "long",
|
month: "long",
|
||||||
day: "2-digit",
|
day: "2-digit",
|
||||||
hour: "2-digit",
|
hour: "2-digit",
|
||||||
minute: "2-digit",
|
minute: "2-digit",
|
||||||
hour12: true,
|
hour12: true,
|
||||||
}).format(new Date(props.row.original.tanggal))
|
})
|
||||||
|
.format(new Date(props.row.original.tanggal))
|
||||||
|
.replace(/\./g, ':')
|
||||||
|
.replace('pukul ', '')
|
||||||
: 'N/A',
|
: 'N/A',
|
||||||
}),
|
}),
|
||||||
columnHelper.display({
|
columnHelper.display({
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user