forked from science-ation/science-ation
Format the date/time according to the localization in the custom projects/judges and judges/projects reports
This commit is contained in:
parent
123cee67d3
commit
6d8c74e8ae
@ -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,
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user