[TYPO3-mvc] f:format.date timezone "problem"?

Martin Kutschker masi-no at spam-typo3.org
Tue May 3 16:02:42 CEST 2011


Am 03.05.2011 11:37, schrieb Christian Zenker:
> 
> Hi there.
>> Hi,
>> Using TYPO3 4.5.2 on a linux machine in Germany with PHP 5.2 and the following settings in the
>> install tool:
>>
>> $TYPO3_CONF_VARS['SYS']['phpTimeZone'] = 'Europe/Berlin';
>> $TYPO3_CONF_VARS['SYS']['serverTimeZone'] = '2';
>>
>> this STILL does not work for me.
>> I know that it is only possiblt to set the timezone with PHP 5.3 but what about the serverTimeZone
>> variable?
> 
> According to the Install Tool [SYS][serverTimeZone] "can be used in extensions (!) [...]", so I
> don't think the core even uses it. After all, I don't even see, why an extension should use it - if
> you have daylight saving times, this would change over the course of the year...

IMHO it should be removed completely. The offset to the GMT is measured in minutes not hours. There
really are timezones with 0:30 and IIRC even 0:15 offsets. Strange, but true...

Masi


More information about the TYPO3-project-typo3v4mvc mailing list