about time zone [message #5353] |
Thu, 29 August 2002 04:37 |
|
i think that it is not a bug. because it work well in your forum.
but on my pc,i must
define('__request_timestamp__', time()+28800);
then the time can be +8(china/shanghai)
could you tell me which php file control the time zone in fud?
[Updated on: Thu, 29 August 2002 04:39] Report message to a moderator
|
|
|
Re: about time zone [message #5360 is a reply to message #5353] |
Thu, 29 August 2002 11:50 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Uhm timezone are determined by a special setting, you do not need to hack up the timestamp value. The admin control panel allows you to select the forum's default timezone and then each user can choose a timezone of their choice in their profile.
FUDforum Core Developer
|
|
|
Re: about time zone [message #5373 is a reply to message #5360] |
Fri, 30 August 2002 01:04 |
|
prottoss wrote on Thu, 29 August 2002 19:50 | Uhm timezone are determined by a special setting, you do not need to hack up the timestamp value. The admin control panel allows you to select the forum's default timezone and then each user can choose a timezone of their choice in their profile.
|
i have already set timezone at admin panel,but it does not work!
eg now 9:05am ,but the forum show "Fri Aug 01:05:42 ric 2002".
|
|
|
Re: about time zone [message #5378 is a reply to message #5373] |
Fri, 30 August 2002 02:43 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Well, if you'll notice from the 'Fri Aug 01:05:42 ric 2002' string, the forum thinks it is inside the 'ric' timezone and is showing the time reflective of that timezone.
Is this the time you see when browsing the forum as anonymous or registered user? If you are browsing as registered user, check the timezone settings inside your profile, as those would overwrite the default timezone option.
FUDforum Core Developer
|
|
|
Re: about time zone [message #5379 is a reply to message #5378] |
Fri, 30 August 2002 02:44 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
If you still experience the problem let me know which timezone you are using.
FUDforum Core Developer
|
|
|
|
|
Re: about time zone [message #5428 is a reply to message #5415] |
Tue, 03 September 2002 02:11 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You are correct, some computers do not have the recent timezone defenitions and as the result do not support certain timezones.
Since there are usually 2-3 closely related options, in such cases you may need it to play with them till you find one supported on your machine.
I intend to write a script that will try to determine timezones supported by each machine so that this problem can be avoided in the future.
FUDforum Core Developer
|
|
|