Fix adjusting timezone on events from free-busy source
This commit is contained in:
parent
af90c641dc
commit
f72d48940e
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ class libcalendaring extends rcube_plugin
|
|||
$dt = rcube_utils::anytodatetime($dt);
|
||||
}
|
||||
|
||||
if ($dt instanceof DateTime && empty($dt->_dateonly) && !$dateonly) {
|
||||
if (($dt instanceof DateTime || $dt instanceof DateTimeImmutable) && empty($dt->_dateonly) && !$dateonly) {
|
||||
$dt = $dt->setTimezone($this->timezone);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue