Open kstkn opened 4 years ago
Having string in _timezone property didn't have any effect:
_timezone
php > $date = new \DateTime(); php > var_dump($date->getTimezone()->getName()); string(3) "UTC" php > $date->setTimezone('Europe/Berlin'); Warning: DateTime::setTimezone() expects parameter 1 to be DateTimeZone, string given in php shell code on line 1 php > var_dump($date->getTimezone()->getName()); string(3) "UTC"
Having string in
_timezone
property didn't have any effect: