mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-19 12:55:08 +02:00
Fix 12 hour afternoons
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user