(dateString: string | null)
| 75 | } |
| 76 | |
| 77 | const formatDate = (dateString: string | null) => { |
| 78 | if (!dateString) return "n/a" |
| 79 | const date = new Date(dateString) |
| 80 | return date.toLocaleDateString("en-US", { |
| 81 | month: "2-digit", |
| 82 | day: "2-digit", |
| 83 | year: "2-digit", |
| 84 | timeZone: "UTC", |
| 85 | }) |
| 86 | } |
| 87 | |
| 88 | useEffect(() => { |
| 89 | const handleKeyDown = (e: KeyboardEvent) => { |