FUDforum - خوراک RDF
http://fudforum.org/forum/index.php
Time zone glitch returns?
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31129&th=6406#msg_31129
Quote:
Changed line 24 from:
} else if (strncasecmp(PHP_OS, 'WIN', 3 ) !== false) {
to:
} else if (!strncasecmp(PHP_OS, 'WIN', 3)) {
Now it's back to displaying Eastern time no matter what the individual user sets in the Settings tab of the UserCP.
]]>BobB2006-04-04T03:27:54-00:00Re: Time zone glitch returns?
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31138&th=6406#msg_31138
Ilia2006-04-04T13:46:44-00:00Re: Time zone glitch returns?
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31142&th=6406#msg_31142
Ilia wrote on Tue, 04 April 2006 08:46
What OS are you using, are the other timezones that are being selected available? Also what version of PHP are you using?
I'm pretty sure nothing has changed:
O/S - FreeBSD Ver - 4.11-STABLE (GENERIC) #1: Wed Nov 9 11:33:21 EST 2005
PHP - ver 4.4.1 (cli) (built: Nov 9 2005 16:54:04)
What do you mean about time zones being available? Isn't it just a matter of the software adding or subtracting hours to adjust to other time zones?
Thanks.
]]>BobB2006-04-04T18:46:34-00:00Re: Time zone glitch returns?
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31147&th=6406#msg_31147
see if the /var/zoneinfo folder contains the time zone info
Looking into it. Thanks.
...Bob
]]>BobB2006-04-04T23:07:50-00:00Re: Time zone glitch returns?
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31160&th=6406#msg_31160
Any other ideas?
...Bob
]]>BobB2006-04-05T19:11:10-00:00Re: Time zone glitch returns?
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31165&th=6406#msg_31165
Ilia2006-04-06T02:37:27-00:00Re: Time zone glitch returns?
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31169&th=6406#msg_31169
Ilia wrote on Wed, 05 April 2006 19:37
The forum sets timezones by setting the TZ environment variable. Try making a small PHP script that does that with the TimeZone you want to use and them use strftime() function to output some date format. See if the times change based on the timezone.
Is that so the user can set the time zone in the Settings tab of the UserCP and have that time displayed? I see this forum works fine. I just set mine to U.S./Phoenix/MST and it now displays that time zone for me. I have my own user on my own forum also set to MST, but it displays Eastern Daylight time. Why would mine work differently?
Thanks.
]]>BobB2006-04-06T02:46:15-00:00Re: Time zone glitch returns?
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31171&th=6406#msg_31171
Do the names of the timezones on this forum and your forum match or does your forum show different timezone values?]]>Ilia2006-04-06T02:50:07-00:00Re: Time zone glitch returns?
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31175&th=6406#msg_31175
Ilia wrote on Wed, 05 April 2006 19:50
Basically the admin can set a generic default inside the admin control panel. But each user can also set their own timezone inside their profile.
Do the names of the timezones on this forum and your forum match or does your forum show different timezone values?
They are the same.
I do have EDT set as the default, but if a user sets a different time zone, it still displays the default one.]]>BobB2006-04-06T02:55:37-00:00Re: Time zone glitch returns?
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31183&th=6406#msg_31183
Thanks, and sorry about the "Bug Report", since this is not a bug in the forum software.
...Bob
]]>BobB2006-04-06T18:14:35-00:00Re: Time zone glitch returns?
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31189&th=6406#msg_31189
Ilia2006-04-07T00:37:36-00:00Re: Time zone glitch returns?
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=34614&th=6406#msg_34614
Now, back on topic. It's been several months since the last post in this topic, but I have recently (in the last few days) installed a FUDforum 2.7.6 at a remote location and I am also experiencing some time zone issues. Although I am located in continental Spain (GMT+1 this time of the year) the server is located somewhere the USA (CST time zone, GMT-6). Well, no matter which default timezone I select in the Global Settings Manager, times at the bottom of each page seem not to follow the change. This happens browsing the forums as an anonymous (non authenticated) user, which has all his privileges removes but for the ones that allows it to browse just one public access forum.
However, if I log in as a user and set the user's time zone, all times show correctly. However, it seems like after the authenticated, non-administrator, user has log in, also anonymous users see the correct times. However, the FUDforum administrator keeps seeing the wrong times, that seems to be local system time plus one hour when the global forum installation timezone setting is "Spain/Mainland" (currently, GMT+1).
I hope this information is of some use for the developers, which I thank again for their great piece of software.
]]>dardhal2006-11-09T20:26:47-00:00Re: Time zone glitch returns?
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=34623&th=6406#msg_34623
Ilia2006-11-10T14:59:53-00:00