mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-22 21:30:54 +01:00
fixing a problem regarding the datehandling in Horde/iCalendar.php reported by Chr.Kaulich
This commit is contained in:
parent
174f74ed2f
commit
0cbfb4df1c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user