[TYPO3-core] RFC #11587: PHP Warnings concerning missing timezone settings under PHP 5.3
Dmitry Dulepov
dmitry.dulepov at gmail.com
Thu Nov 5 13:46:29 CET 2009
Hi!
Rupert Germann wrote:
> Solution:
> add a new conf vars parameter "phpDateTimeZone" which allows admins to
> set the timezone (default is "CET"). This is the same as
> "serverTimeZone" which is also set to CET (GMT+1) by default.
Block on the patch because it immediately breaks all servers outside CET after upgrade.
Proper solution should have two settings:
- "default time zone" (CET)
- "force time zone" (empty)
Proper algorithm:
- Is "force" setting empty?
|- "no" -> set it. The end
|- "yes" -> Is ini_get('date.timezone') value empty?
|-> "yes" set "default" setting. The end
|-> "no" Nothing to do. The end.
--
Dmitry Dulepov
Facebook: http://www.facebook.com/dmitryd
Twitter: http://twitter.com/dmitryd
Skype: liels_bugs
More information about the TYPO3-team-core
mailing list