Fix for the 12/24 hour problem identified in the mailing list

This commit is contained in:
skeeter 2001-03-22 01:36:47 +00:00
parent 7059637ad3
commit c5e34d10b5

View File

@ -76,6 +76,11 @@
}
}
if($start[hour] > 24)
{
$start[hour] -= 12;
}
if ($end[ampm] == 'pm')
{
if ($end[hour] <> 12)
@ -90,6 +95,11 @@
$end[hour] -= 12;
}
}
if($end[hour] > 24)
{
$end[hour] -= 12;
}
}
if(!isset($private))