Project

General

Profile

Actions

Bug #26779

closed

phpTimeZone not working

Added by Todd Hossack almost 13 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Install Tool
Target version:
Start date:
2011-05-12
Due date:
% Done:

100%

Estimated time:
0.01 h
TYPO3 Version:
4.5
PHP Version:
5.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.


Files

config_default_patch.txt (725 Bytes) config_default_patch.txt Todd Hossack, 2011-05-12 11:15
Actions #1

Updated by Xavier Perseguers almost 13 years ago

Hi Todd,

Looks good. Would you mind trying to push it to Gerrit and practice the workflow for patches?

Tutorial:
http://wiki.typo3.org/Contribution_Walkthrough_Tutorials

Actions #2

Updated by Mr. Hudson almost 13 years ago

Patch set 2 of change I599e06c63747a089aefebc4d5745452383dfd8af has been pushed to the review server.
It is available at http://review.typo3.org/2301

Actions #3

Updated by Mr. Hudson almost 13 years ago

Patch set 1 of change Ie443a7c1297156cb4c475fdcda38bafcbe20d716 has been pushed to the review server.
It is available at http://review.typo3.org/2303

Actions #4

Updated by Oliver Hader almost 13 years ago

  • Target version changed from 4.5.3 to 4.5.4
Actions #5

Updated by Mr. Hudson almost 13 years ago

Patch set 3 of change I599e06c63747a089aefebc4d5745452383dfd8af has been pushed to the review server.
It is available at http://review.typo3.org/2301

Actions #6

Updated by Mr. Hudson almost 13 years ago

Patch set 2 of change Ie443a7c1297156cb4c475fdcda38bafcbe20d716 has been pushed to the review server.
It is available at http://review.typo3.org/2303

Actions #7

Updated by Patrick Schriner almost 13 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
Actions #8

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF