Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Re: [Jagerman] strange thing with date_offset variable

Quote Reply
Re: [Jagerman] strange thing with date_offset variable In reply to
Hi Jason,

The posts posted after I set the time_offset to -1 are correct (they show the right time). It's only for the posts posted before I set the time_offset to -1 that appear now one hour late.

Please try this test:
1) Send a post in your forum and note its displayed time.
2) Add one hour to the clock of the server where your forum is installed, like if you were (change server) in another time zone.
3) Check the time of the post you posted in step 1. You will see that its displayed time didn't change.
4) Check the current time of your forum throw the Who's Online page. You will see that the current time of your forum is now 1 hour in advance.
5) In the control panel set the time_offset (date_offset) of your forum to -1 to get the right current time displayed in your forum (in Who's Online page).
6) Verify the current time of your forum (in Who's Online page). You will see that the current time of your forum is now correct.
7) Check now the post you've posted in the step 1. You will see that the displayed time of this post is now 1 hour late.
So it's seem that it's not possible to have at the same time the right current time in the forum (displayed in Who's Online page and used for new posts) and the right time of the post posted in step 1. That's why I suggest to have a time_offset for the current time of the forum and another time_offset for the displayed times of all the posts.

Please let me know how this test went for you.

Thank you.

François

Last edited by:

Franco: Nov 18, 2002, 7:19 AM
Subject Author Views Date
Thread strange thing with date_offset variable Franco 4383 Nov 9, 2002, 9:50 AM
Thread Re: [Franco] strange thing with date_offset variable
Jagerman 4268 Nov 13, 2002, 7:23 AM
Thread Re: [Jagerman] strange thing with date_offset variable
Franco 4266 Nov 17, 2002, 9:05 PM
Thread Re: [Franco] strange thing with date_offset variable
Jagerman 4236 Nov 17, 2002, 11:05 PM
Thread Re: [Jagerman] strange thing with date_offset variable
Franco 4237 Nov 18, 2002, 5:09 AM
Thread Re: [Franco] strange thing with date_offset variable
Jagerman 4254 Nov 18, 2002, 5:41 AM
Thread Re: [Jagerman] strange thing with date_offset variable
Franco 4246 Nov 18, 2002, 6:37 AM
Thread Re: [Franco] strange thing with date_offset variable
Jagerman 4251 Nov 18, 2002, 6:54 AM
Post Re: [Jagerman] strange thing with date_offset variable
Franco 4242 Nov 18, 2002, 7:02 AM
Post Re: [Jagerman] strange thing with date_offset variable
Franco 4226 Nov 18, 2002, 7:05 AM
Post Re: [Jagerman] strange thing with date_offset variable
Franco 4239 Nov 18, 2002, 7:11 AM