mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 15:18:58 +01:00
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