mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 17:04:14 +01:00
fixing a problem regarding the datehandling in Horde/iCalendar.php reported by Chr.Kaulich
This commit is contained in:
parent
b287fce527
commit
c819f15dbc
@ -924,7 +924,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;
|
||||
|
Loading…
Reference in New Issue
Block a user