diff --git a/phpgwapi/inc/class.common.inc.php b/phpgwapi/inc/class.common.inc.php index 2c617b78a4..16d916ee4f 100644 --- a/phpgwapi/inc/class.common.inc.php +++ b/phpgwapi/inc/class.common.inc.php @@ -969,7 +969,7 @@ $h12 = $hour; if ($phpgw_info['user']['preferences']['common']['timeformat'] == '12') { - if ($hour > 12) + if ($hour >= 12) $ampm = ' pm'; else $ampm = ' am';