Timezone incorrect [message #26381] |
Tue, 19 July 2005 15:32 |
jhogue
Messages: 28 Registered: April 2005 Location: at the computer
Karma: 0
|
Junior Member |
|
|
I have 2.6.15 running on a server that sits in the US Mountain timezone.
I have my user setting set to US Eastern Time/ New York.
The page displays
Current Time: Tue Jul 19 15:22:40 America/New_York 2005
when it is 11:22:40 am in NY.
Do Not set Timezone is set to NO
1) how do I verify what time my server thinks it is?
2) how long should I expect it to take for my timezone changes to be visible on the page?
3) what is the most likely problem?
Thanks!
J
|
|
|
Re: Timezone incorrect [message #26382 is a reply to message #26381] |
Tue, 19 July 2005 15:46 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Is the forum installed on a win32 system?
The fact that "America/New_York" is printed for the timezone indicates that the selected timezone value is not supported by your system.
FUDforum Core Developer
|
|
|
|
Re: Timezone incorrect [message #26384 is a reply to message #26383] |
Tue, 19 July 2005 17:07 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Have you tried using any other timezones?
This is a valid unix timezone, which simply appears not to be supported on your system.
FUDforum Core Developer
|
|
|
|
Re: Timezone incorrect [message #26409 is a reply to message #26408] |
Wed, 20 July 2005 22:08 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
hmm Ok let's try a simple script
<?php putenv("TZ=America/New_York");
echo strtftime("%a %b %e %H:%M:%S %Z %Y") . "<br>\n"; ?>
FUDforum Core Developer
|
|
|