Index: trunk/kernel/include/config.php =================================================================== diff -u -r2882 -r3736 --- trunk/kernel/include/config.php (.../config.php) (revision 2882) +++ trunk/kernel/include/config.php (.../config.php) (revision 3736) @@ -116,13 +116,7 @@ function TimeFormat() { - if($this->Get("ampm_time")=="1") - { - $format = "g:i:s A"; - } - else - $format = "H:i:s"; - return $format; + return is12HourMode() ? 'g:i:s A' : 'H:i:s'; } /* vartype should be either 1 or 2, 1 = perstant data, 2 = session data */