forked from extern/egroupware
update function formattime to show 12 as pm
This commit is contained in:
parent
35a2d6bc9a
commit
7716dc48d4
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user