Also adjust the timezone of existing DateTime objects

This commit is contained in:
Thomas Bruederli 2013-03-06 15:14:51 +01:00
parent bfd10a9c49
commit 2eedbbf0f4

View file

@ -109,8 +109,6 @@ class libcalendaring extends rcube_plugin
$dt = new DateTime('@'.$td);
else if (is_string($dt))
$dt = new DateTime($dt);
else
return $dt;
$dt->setTimezone($this->timezone);
return $dt;