Try this, I don't know if it's correct solution - but for me works perfect!
================================
in:
================================
ww.yourwebsite.com/mibew/libs/chat.php
================================
add similar code in line 100 and 113 of chat.php (can be others one):
================================
date_default_timezone_set('UTC');================================
it looks like this in my file:
================================
function message_to_html($msg)
{
global $kind_to_string, $kind_avatar;
if ($msg['ikind'] == $kind_avatar) return "";
date_default_timezone_set('Poland'); $message = "<span>" . date("H:i:s", $msg['created']) . "</span> ";
$kind = $kind_to_string{$msg['ikind']};
if ($msg['tname'])
$message .= "<span class='n$kind'>" . htmlspecialchars($msg['tname']) . "</span>: ";
$message .= "<span class='m$kind'>" . prepare_html_message($msg['tmessage']) . "</span><br/>";
return $message;
}
function message_to_text($msg)
{
global $kind_user, $kind_agent, $kind_info, $kind_avatar;
if ($msg['ikind'] == $kind_avatar) return "";
date_default_timezone_set('Poland'); $message_time = date("H:i:s ", $msg['created']);
if ($msg['ikind'] == $kind_user || $msg['ikind'] == $kind_agent) {
if ($msg['tname'])
return $message_time . $msg['tname'] . ": " . $msg['tmessage'] . "\n";
else
return $message_time . $msg['tmessage'] . "\n";
} else if ($msg['ikind'] == $kind_info) {
return $message_time . $msg['tmessage'] . "\n";
} else {
return $message_time . "[" . $msg['tmessage'] . "]\n";
}
}
===============================
Hope it works for you too!
===============================