upd: test update created At client
This commit is contained in:
@@ -357,14 +357,7 @@ const PengaduanRoute = new Elysia({
|
||||
const dataHistoryFix = dataHistory.map((item: any) => ({
|
||||
..._.omit(item, ["User", "createdAt"]),
|
||||
nameUser: item.User?.name,
|
||||
createdAt: item.createdAt.toLocaleString("id-ID", {
|
||||
day: "2-digit",
|
||||
month: "short",
|
||||
year: "numeric",
|
||||
hour: "2-digit",
|
||||
minute: "2-digit",
|
||||
hour12: false
|
||||
}),
|
||||
createdAt: item.createdAt
|
||||
}))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user