diff --git a/apps/dashboard/app/(app)/audit/[bucket]/row.tsx b/apps/dashboard/app/(app)/audit/[bucket]/row.tsx index d25175437c..7f8dfa920c 100644 --- a/apps/dashboard/app/(app)/audit/[bucket]/row.tsx +++ b/apps/dashboard/app/(app)/audit/[bucket]/row.tsx @@ -5,7 +5,6 @@ import { Badge } from "@/components/ui/badge"; import { Code } from "@/components/ui/code"; import { TableCell, TableRow } from "@/components/ui/table"; import { cn } from "@/lib/utils"; -import { format } from "date-fns"; import { ChevronDown, KeySquare, Minus } from "lucide-react"; import { useState } from "react"; @@ -85,11 +84,11 @@ export const Row: React.FC = ({ auditLog, user }) => {
- - {format(new Date(auditLog.time), "dd/MM/yyyy")} + + {new Date(auditLog.time).toLocaleDateString()} - - {format(new Date(auditLog.time), "dd/MM/yyyy")} + + {new Date(auditLog.time).toLocaleDateString()}