[TYPO3-core] RFC #11587: PHP Warnings concerning missing timezone settings under PHP 5.3
Dan Osipov
dosipov at phillyburbs.com
Wed Nov 4 21:59:53 CET 2009
I am actually pro-warning, making the administrator set the timezone in
php.ini, instead of another setting in TYPO3.
My 2 cents...
Dan Osipov
Calkins Media
http://danosipov.com/blog/
Rupert Germann wrote:
> Hi,
>
> this is a SVN patch request.
>
> Type: Bugfix
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=11587
>
> Branches: Trunk
>
> Problem:
> On systems running PHP 5.3 with a php.ini that does not contain a value
> for "date.timezone" the following warning is displayed in the Backend
> (e.g. in the list module): Warning: date() [function.date]: It is not
> safe to rely on the system's timezone settings. You are *required* to
> use the date.timezone setting or the date_default_timezone_set()
> function.....
>
>
> 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.
>
>
> greets
> rupert
>
More information about the TYPO3-team-core
mailing list