openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit b6b7501ba210c95069ab46d2f160cd64a2e52f73
parent ebeb323f9b5eaf336aed8dd152e5586d5fa6edcd
Author: dankert <devnull@localhost>
Date:   Thu, 15 Oct 2009 19:23:08 +0200

Datum der Zeitzone UTC entsprechend anpassen.

Diffstat:
themes/default/include/html/date.inc.php | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/themes/default/include/html/date.inc.php b/themes/default/include/html/date.inc.php @@ -1,6 +1,10 @@ <?php global $conf; $time = $attr_date; + + if ( @$conf['date']['database']['utc'] ) + $time + date('Z'); + if ( $time==0) echo lang('GLOBAL_UNKNOWN');