Index: trunk/xpressme_integration_kit/class/config_from_xoops.class.php
===================================================================
--- trunk/xpressme_integration_kit/class/config_from_xoops.class.php	(revision 598)
+++ trunk/xpressme_integration_kit/class/config_from_xoops.class.php	(revision 614)
@@ -43,4 +43,5 @@
 	var $module_id;
 	var $module_config= array();
+	var $xoops_time_zone;
 	
 	function __constructor()	//for PHP5
@@ -97,4 +98,7 @@
 		$this->set_module_version();
 		$this->set_wp_version();
+		if (function_exists('date_default_timezone_get')){
+			$this->xoops_time_zone = date_default_timezone_get();
+		}
     }
 
Index: trunk/xpressme_integration_kit/class/xpressD3commentContent.class.php
===================================================================
--- trunk/xpressme_integration_kit/class/xpressD3commentContent.class.php	(revision 598)
+++ trunk/xpressme_integration_kit/class/xpressD3commentContent.class.php	(revision 614)
@@ -44,4 +44,5 @@
 		function displayCommentsInline( $params )
 		{
+			global $xoops_config;
 			$new_params = $this->restructParams( $params ) ;
 			if (!$this->canAddComment($params['id']) ) {
@@ -56,5 +57,9 @@
 				echo $d3comment;
 			} else {
+				if ( function_exists('date_default_timezone_set') )
+				date_default_timezone_set($xoops_config->xoops_time_zone);
 				d3forum_render_comments( $this->d3forum_dirname , $new_params['forum_id'] , $new_params , $this->smarty ) ;
+				if ( function_exists('date_default_timezone_set') )
+					date_default_timezone_set('UTC');
 			}
 		}
