Also adjust the timezone of existing DateTime objects
This commit is contained in:
parent
bfd10a9c49
commit
2eedbbf0f4
1 changed files with 0 additions and 2 deletions
|
@ -109,8 +109,6 @@ class libcalendaring extends rcube_plugin
|
||||||
$dt = new DateTime('@'.$td);
|
$dt = new DateTime('@'.$td);
|
||||||
else if (is_string($dt))
|
else if (is_string($dt))
|
||||||
$dt = new DateTime($dt);
|
$dt = new DateTime($dt);
|
||||||
else
|
|
||||||
return $dt;
|
|
||||||
|
|
||||||
$dt->setTimezone($this->timezone);
|
$dt->setTimezone($this->timezone);
|
||||||
return $dt;
|
return $dt;
|
||||||
|
|
Loading…
Add table
Reference in a new issue