upd: test update created At client

This commit is contained in:
2025-12-01 14:11:40 +08:00
parent ba0414a99c
commit ba76eb5e59
2 changed files with 11 additions and 9 deletions

View File

@@ -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
}))