mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-17 19:01:04 +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)
|
function _exportDateTime($value)
|
||||||
{
|
{
|
||||||
$temp = array();
|
$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 = 3600 * substr(date('O',$value), 0, 3);
|
||||||
$TZOffset += 60 * substr(date('O',$value), 3, 2);
|
$TZOffset += 60 * substr(date('O',$value), 3, 2);
|
||||||
$value -= $TZOffset;
|
$value -= $TZOffset;
|
||||||
|
Loading…
Reference in New Issue
Block a user