Issue Bug Closed

#26779phpTimeZone not working

Todd Hossack 05/12/11, 11:15 updated 10/24/17, 20:18

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.

Reviews 2