This commit is contained in:
skeeter 2001-04-20 00:38:49 +00:00
parent 8aea759457
commit 34b6239bdb

View File

@ -1472,7 +1472,7 @@ class calendar extends calendar_
if(($this->printer_friendly == False) && ($this->check_perms(PHPGW_ACL_EDIT) == True)) if(($this->printer_friendly == False) && ($this->check_perms(PHPGW_ACL_EDIT) == True))
{ {
$new_hour = intval(substr($dtime,0,strpos($dtime,':'))); $new_hour = intval(substr($dtime,0,strpos($dtime,':')));
if ($phpgw_info['user']['preferences']['common']['timeformat'] == '12') if ($phpgw_info['user']['preferences']['common']['timeformat'] == '12' && $i >= 12)
{ {
$new_hour += 12; $new_hour += 12;
} }