Previous Thread
Next Thread
Print Thread
Rating: 5
Page 4 of 4 1 2 3 4
Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
Re: fixing the time offset

I assume this refers to making the date/times for events always display in the user's time zone, while being stored in the database in the server's time zone?

If so, there are a number of changes required in addition to the above.

But I'm wondering if it's desirable to make these time zone adjustments.

Scenario 1:

I'm using the calendar to announce a meeting in an IRC chatroom on Jan 15 at 6PM my time. In this case, the time zone adjustment is appropriate, since I want other users to see the date/time displayed in their time zone.

Scenario 2:

Same as above, except I'm going to be in another city in another time zone on Jan 15. Hmmm ... this gets trickier. I'll have to take into account the difference between the time zone I'm in now, and the one I'll be in on Jan 15.

Scenario 3:

I'm using the calendar to announce a rock-climbing event at Devil's Tower, Wyoming on July 7 at noon. Obviously, everyone attending the event will be in the same time zone, and the date/time should be displayed in the time zone for Devil's Tower, regardless of what time zone users are in now. So in this case, it's preferable that no time zone conversion be done.

Any suggestions? Should this hack be left as it is now, with no time zone corrections?

Sponsored Links
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
If it's a local event then I would venture to say that all users of the site have their time offset set accordingly and the correct time will be displayed no matter what. I think the offset time should be carried over to match .threads.

Joined: Jun 2002
Posts: 27
User
User
Offline
Joined: Jun 2002
Posts: 27
This is how it works and it has been working since I made these changes. When it get stored into the database it gets stored as the server time. Whever a user goes in and changes their offset it will display the time in their timezone. If you notice when you post a new event it adjusts it to the server time and when you view it it adjusts it to the user time.

The proposed changes have not made and major impact as far as I can tell.

Your Senarious make a valid point and a simple soulution to it is to go into your user settings and change it to the timezone you are in.

Last edited by Lunatik; 12/08/2002 9:51 PM.
Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
I guess it depends on what the calendar is being used for.

JustDave's and your opinions sound reasonable, so I'll leave the time zone adjustments in when I upload the 6.2-compatible version.

Joined: Jun 2002
Posts: 27
User
User
Offline
Joined: Jun 2002
Posts: 27
Thanks. Less work for me to do.

Sponsored Links
Joined: Feb 2002
Posts: 950
Hacker
Hacker
Offline
Joined: Feb 2002
Posts: 950
Did someone make a PAL for IIP to show a mini-calendar?

Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
Not that I'm aware of. I had made an "upcoming events" pal a while back that simply displayed a list of events that were coming up. I will be adding this to IIP's zip file at some point.

Joined: Feb 2002
Posts: 950
Hacker
Hacker
Offline
Joined: Feb 2002
Posts: 950
Ah, the list of events would be nice. Thanks!

Maze_Brendan #221170 01/03/2003 6:41 PM
Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
I'm closing this thread and refer to the new version in this thread which is updated for UBB.threads 6.2.

Page 4 of 4 1 2 3 4

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)