mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Fix 12 hour afternoons
This commit is contained in:
parent
ab63063023
commit
a4b71c7d3a
@ -250,7 +250,7 @@ class resources_reserve {
|
||||
{
|
||||
if($GLOBALS['egw_info']['user']['preferences']['common']['timeformat'] == '12')
|
||||
{
|
||||
$sel_options['hour'][$i] = ($i < '12' ? $i .' am' : ($i-12).' pm');
|
||||
$sel_options['hour'][$i] = ($i < '12' ? $i .' am' : ($i > 12 ? $i -12 : $i).' pm');
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user