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