Actions
Bug #26779
closedphpTimeZone not working
Start date:
2011-05-12
Due date:
% Done:
100%
Estimated time:
0.01 h
TYPO3 Version:
4.5
PHP Version:
5.1
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
There's a bug in the php time zone implementation - set in t3lib/config_default.php and overridden in localconf.php.
The timeZone variable used to set the default timezone takes the value from TYPO3_CONF_VARS[phpTimeZone], which does not exist. It needs to be corrected to TYPO3_CONF_VARS[SYS][phpTimeZone].
The effect is that the time zone for Typo3 is always set to the server time zone and is not set by the localconf.php / Install Tool value of phpTimeZone.
This looks like it may have been an issue since phpTimeZone was added.
See patch attached for simple fix.
Files
Actions