Testing in local validated.

This commit is contained in:
charlesgauthereau
2025-07-16 20:16:18 +02:00
parent de9fe33194
commit 5e704ec18a
21 changed files with 598 additions and 591 deletions
@@ -11,6 +11,7 @@ import {deleteUserAction} from "@/components/wrappers/dashboard/profile/ButtonDe
import {ButtonWithLoading} from "@/components/wrappers/common/button/button-with-loading";
import {User} from "@/db/schema/01_user";
import {useSession} from "@/lib/auth/auth-client";
import {formatFrenchDate} from "@/utils/date-formatting";
export const usersColumnsAdmin: ColumnDef<User>[] = [
{
@@ -54,9 +55,7 @@ export const usersColumnsAdmin: ColumnDef<User>[] = [
accessorKey: "updatedAt",
header: "Updated At",
cell: ({row}) => {
return new Date(row.getValue("updatedAt")).toLocaleString("fr-FR", {
timeZone: "Europe/Paris",
});
return formatFrenchDate(row.getValue("updatedAt"))
},
},
{