fix all issues before deploy
Deploy to Shared Hosting / Shared hosting deploy (push) Failing after 47s
Tests / PHPUnit (push) Failing after 1m18s

This commit is contained in:
root
2026-08-25 03:10:44 -04:00
parent 5f5afe97ad
commit 9899af7b37
11 changed files with 515 additions and 37 deletions
+9 -2
View File
@@ -124,8 +124,15 @@ $selectedYear = trim((string)($selectedYear ?? ''));
}
}
// Input-safe values
$dobVal = $dobDisp;
// Browser date inputs require ISO dates even when the table displays local mm-dd-YYYY.
$dobVal = '';
if (!empty($student['dob'])) {
try {
$dobVal = (new DateTime($student['dob']))->format('Y-m-d');
} catch (\Throwable $e) {
$dobVal = '';
}
}
$regDateLocal = '';
if (!empty($student['registration_date'])) {
try {