fixing a problem regarding the datehandling in Horde/iCalendar.php reported by Chr.Kaulich

This commit is contained in:
Klaus Leithoff 2009-10-02 09:06:36 +00:00
parent 174f74ed2f
commit 0cbfb4df1c

View File

@ -945,7 +945,7 @@ class Horde_iCalendar {
function _exportDateTime($value)
{
$temp = array();
if (!is_object($value) || is_array($value)) {
if (!is_object($value) && !is_array($value)) {
$TZOffset = 3600 * substr(date('O',$value), 0, 3);
$TZOffset += 60 * substr(date('O',$value), 3, 2);
$value -= $TZOffset;