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
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