From 34b6239bdbd6740c48dd4652de5f1376b08ea3f9 Mon Sep 17 00:00:00 2001 From: skeeter Date: Fri, 20 Apr 2001 00:38:49 +0000 Subject: [PATCH] Fix for bug #417400 --- calendar/inc/class.calendar.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar.inc.php b/calendar/inc/class.calendar.inc.php index 4e2c4f6241..f16a317a3c 100755 --- a/calendar/inc/class.calendar.inc.php +++ b/calendar/inc/class.calendar.inc.php @@ -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; }