|
Joined: Apr 2002
Posts: 1,768
Addict
|
Addict
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?
|
|
|
|
Joined: Jun 2001
Posts: 3,273
That 70's Guy
|
That 70's Guy
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
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
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
Joined: Jun 2002
Posts: 27 |
Thanks. Less work for me to do. 
|
|
|
|
Joined: Feb 2002
Posts: 950
Hacker
|
Hacker
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
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
Joined: Feb 2002
Posts: 950 |
Ah, the list of events would be nice. Thanks!
|
|
|
|
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.
|
|
|
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.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|