mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
Fix for bug #417400
This commit is contained in:
parent
8aea759457
commit
34b6239bdb
@ -1472,7 +1472,7 @@ class calendar extends calendar_
|
||||
if(($this->printer_friendly == False) && ($this->check_perms(PHPGW_ACL_EDIT) == True))
|
||||
{
|
||||
$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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user