When I send a PM from the user profile tab (using cb_plug_pms_uddeim / pms.uddeim.php) the time of the message is wrong.
However if I send a message using the uddeIM component the time is correct.
The time of messages is 10 hours behind the actual time.
My time zone in Joomla is UTC -5.
The cb_plug_pms_uddeim seems to ignore this setting: if I set the time zone to UTC 0 the message time stays the same.
I traced the generation of the time of messages to this function in pms.uddeim.php
Code:
function _pmsUddeGetTime($timezone = 0) {
$rightnow=time()+(($this->mosConfig_offset+$timezone)*3600);
return $rightnow;
}
Earlier in the file we have
Code:
$this->mosConfig_offset = uddeIMgetOffset();
which calls
Code:
$config->getValue('config.offset');
in uddeimlib15.php (I assumed this since I run Joomla 1.5).
Anyways, I tried modifying _pmsUddeGetTime without success. I don't have any more time to look into this so I post here in hope someone smarter will figure what's wrong.