diff --git a/admin/reports_judges_teams_projects.php b/admin/reports_judges_teams_projects.php index ec6fe69..572a231 100644 --- a/admin/reports_judges_teams_projects.php +++ b/admin/reports_judges_teams_projects.php @@ -140,10 +140,10 @@ while($r=mysql_fetch_object($q)) { if($show_date) - $timeslot=$r->date." "; + $timeslot=format_date($r->date)." "; else $timeslot=""; - $timeslot.=substr($r->starttime,0,-3)." - ".substr($r->endtime,0,-3); + $timeslot.=format_time($r->starttime)." - ".format_time($r->endtime); $projq=mysql_query("SELECT projects.projectnumber, diff --git a/admin/reports_projects_judges_teams.php b/admin/reports_projects_judges_teams.php index fc62422..f20fe57 100644 --- a/admin/reports_projects_judges_teams.php +++ b/admin/reports_projects_judges_teams.php @@ -137,10 +137,10 @@ while($r=mysql_fetch_object($q)) { if($show_date) - $timeslot=$r->date." "; + $timeslot=format_date($r->date)." "; else $timeslot=""; - $timeslot.=substr($r->starttime,0,-3)." - ".substr($r->endtime,0,-3); + $timeslot.=format_time($r->starttime)." - ".format_time($r->endtime); $table['data'][]=array($timeslot, $r->name); }