Forums

Global Configuration Timezone

tokenring 03 Jun, 2011
environment

PHP Built on: Linux infong 2.4 #1 SMP Thu Nov 25 01:59:22 UTC 2010 i686 GNU/Linux
Database Version: 5.0.91-log
Database Collation: utf8_general_ci
PHP Version: 5.2.17
Web Server: Apache
Web Server to PHP interface: cgi
Joomla! Version: Joomla! 1.5.23 Stable [ senu takaa ama baji ] 04-March-2011 18:00 GMT


I am in the GMT -5 (EST) timezone. Joomla, components and modules were also setup that way. I have now changed my server to UTC 00:00 (I assume that is london, England) in the global configuration and in all the components and modules.

If I hover my mouse over the timezone in the global configuration it shows me the date in GMT or UTC 00:00 as expected. However, anything that I post on the site is in the old GMT -5 (EST) time format.

In the control panel, if I go to the PHP information tab and then scroll down to the 'date' section, I see this:

Default timezone America/New_York

Where is that being read from? I can't figure out where this 2nd setting is for the global configuration.


Thanks for anyone who can help me on this. I love searching for answers and figuring out things that way, but I am unlucky this time.
tokenring 04 Jun, 2011
Hey Bob!

Thanks for the reply. I ran the statement and this is what had come

up.[attachment=0]Capture.JPG[/attachment]

Another Joomla user told me to try this:

add the following to php.ini date.timezone = "US/Central" (but using the right zone)

I don't believe that what I saw in the Joomal info section under the control panel is being read from the db when it says "php info". Are we missing something here?

Aaron
tokenring 04 Jun, 2011
so I have configured in the Global configuration (system):
(UTC 00:00) Western Europe Time, London, Lisbon, Casablanca...

I have added this to php.ini
date.timezone = "Europe/London"

but when I go to the php info in the control panel and to the date section, I still see

date/time support enabled
"Olson" Timezone Database Version 2010.9
Timezone Database internal
Default timezone America/New_York
GreyHead 05 Jun, 2011
Hi Aaron,

It looks as though the date section message refers to the database timezone (not the PHP one).

Bob
tokenring 06 Jun, 2011
you seem right which is bad because the data is found under PHP Information. I don't think I'm confident changing that (even though the change might be easy) because the outcome might not be well documented.

thanks for the help.

Aaron
This topic is locked and no more replies can be posted.