removed the old event admin components and pages

This commit is contained in:
Codex Agent
2025-12-12 13:38:06 +01:00
parent bbf8d4a0f4
commit 1719d96fed
85 changed files with 994 additions and 19981 deletions

View File

@@ -0,0 +1,7 @@
export function isPastEvent(dateIso?: string | null): boolean {
if (!dateIso) return false;
const date = new Date(dateIso);
if (Number.isNaN(date.getTime())) return false;
const now = new Date();
return date.getTime() < now.getTime();
}