From 7716dc48d433bca296f69c1e6576a94ae8c69083 Mon Sep 17 00:00:00 2001 From: bettina Date: Thu, 22 Mar 2001 17:29:37 +0000 Subject: [PATCH] update function formattime to show 12 as pm --- phpgwapi/inc/class.common.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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';