Feature #37438

Remove setting default timezone on its own

Added by Adrian Föder over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Should have
Assignee:
Category:
Core
Start date:
2012-05-23
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
No
Complexity:
easy

Description

Core/Bootstrap contains the following lines:

if (ini_get('date.timezone') === '') {
    date_default_timezone_set('Europe/Copenhagen');
}

I assume this is mainly to avoid that default_timezone E_WARNING (->Exception), which is fine so far.

As this timezone is a design decision however, I strongly recommend setting this to UTC. This is the only time zone that makes sense in any way in this context.


Related issues

Related to TYPO3.Flow - Feature #44123: Make the "Flow requires the PHP setting "date.timezone"" error more beautifulNew2012-12-19

Actions

Also available in: Atom PDF