From ab21a58d75aa5b5934ce81c66c415c10bfd92f68 Mon Sep 17 00:00:00 2001 From: shrykedude Date: Thu, 22 Jan 2004 20:52:14 +0000 Subject: [PATCH] enable more debug output --- phpgwapi/inc/class.datetime.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpgwapi/inc/class.datetime.inc.php b/phpgwapi/inc/class.datetime.inc.php index cd00123475..932f8a98ba 100755 --- a/phpgwapi/inc/class.datetime.inc.php +++ b/phpgwapi/inc/class.datetime.inc.php @@ -62,12 +62,12 @@ if(isset($GLOBALS['phpgw_info']['server']['tz_offset'])) { $this->gmtnow = time() - ((int)$GLOBALS['phpgw_info']['server']['tz_offset'] * 3600); - //echo "

set via tz_offset=".$GLOBALS['phpgw_info']['server']['tz_offset'].": gmtnow=".date('Y/m/d H:i',$this->gmtnow)."

\n"; + print_debug('datetime::datetime::tz_offset',"set via tz_offset=".$GLOBALS['phpgw_info']['server']['tz_offset'].": gmtnow=".date('Y/m/d H:i',$this->gmtnow),'api'); } else { $this->gmtnow = time() - ($this->getbestguess() * 3600); - //echo "

set via bestguess=".$this->getbestguess().": gmtnow=".date('Y/m/d H:i',$this->gmtnow)."

\n"; + print_debug('datetime::datetime::bestguess',"set via bestguess=".$this->getbestguess().": gmtnow=".date('Y/m/d H:i',$this->gmtnow),'api'); } } $this->users_localtime = time() + $this->tz_offset;