diff --git a/src/app/admin/students/page.tsx b/src/app/admin/students/page.tsx index 703687f..939a074 100644 --- a/src/app/admin/students/page.tsx +++ b/src/app/admin/students/page.tsx @@ -147,7 +147,9 @@ export default function StudentsPage() { return searchMatch && tierMatch && courseMatch }) - } + + const formatDate = (iso: string) => { + try { return new Date(iso).toLocaleDateString("en-IN", { day: "numeric", month: "short", year: "numeric" }) } catch { return iso } }