CF7 overrides timezone with UTC in Joomla 4.2

we we78da 13 Oct, 2022
Hi,
​
today I had an issue with php date() function, which returned UTC datetime although PHP and Joomla 4.2 are set to timezone "Europe/Berlin". Finally I found out CF7 sets default timezone to UTC in Boot->initialize() method:
​
date_default_timezone_set(\G3\L\Config::get('site.timezone', 'UTC'));
​
This crashes/overrides my PHP / Joomla timezone config.
​
How can I fix this? For now I commented out this line and everything works fine.
​
Regards,
Daniel
This topic is locked and no more replies can be posted.