Previous Thread
Next Thread
Print Thread
Hop To
[FIXED in b5] Default time offset #2634 08/13/2006 9:04 PM
Joined: Jul 2006
Posts: 47
Markus_003 Offline OP
journeyman
OP Offline
journeyman
Joined: Jul 2006
Posts: 47
I have a problem with a TIME OFFSET. My default time offset is +14 hours and at first it looks like it is working correctly. Although it will show last post according to the offset time, calendar is still showing a date in red according to original server time.

For instance, I am loging into my forum from Australia, but my server is in USA. Instead showing me Monday in color RED (14.08.06) it is still showing me Sunday in color RED.

For that reason LAST POST cell will display my post from yesterday as if it was written today. So instead of displaying yesterday's date it displays word TODAY at 9:06 AM. And posts entered today will display today's date (which is in Australia 14.08.96).

I hope this makes sence.


Last edited by Rick; 09/06/2006 11:38 AM.
Re: Default time offset [Re: Markus_003] #2635 08/13/2006 9:10 PM
Joined: Jul 2006
Posts: 4,062
Mark S Offline
Offline
Joined: Jul 2006
Posts: 4,062
Ahh ha,
That might be what my problem was..

The 23rd Hr

As my server is +1


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Re: Default time offset [Re: Mark S] #2636 08/13/2006 9:18 PM
Joined: Jul 2006
Posts: 47
Markus_003 Offline OP
journeyman
OP Offline
journeyman
Joined: Jul 2006
Posts: 47
Mark, I have just seen description of your problem, and it looks to me that we are talking about the same problem.

For instance, take UBB.threads Version 7 Test forum. It is also showing my SUNDAY in red.

Re: Default time offset [Re: Markus_003] #2670 08/14/2006 7:44 PM
Joined: Jun 2006
Posts: 136
Okusi Offline
member
Offline
member
Joined: Jun 2006
Posts: 136
i am located in indonesia, with server in vancouver, using a +14 offset. yes, i experience the same problems.


Okusi Associates -- Indonesian business and management services
Re: Default time offset [Re: Okusi] #2672 08/14/2006 9:26 PM
Joined: Jun 2006
Posts: 9,243
Rick Offline
Former Developer
Offline
Former Developer
Joined: Jun 2006
Posts: 9,243
The calendar portion is a cache issue. The calendar is cached off of the local time so it doesn't have to rebuild events every page load. I'm going to need to see if I can somehow use some javascript to highlight the appropriate day depending on the user preference.

Re: Default time offset [Re: Rick] #2833 08/22/2006 3:00 PM
Joined: Jun 2006
Posts: 9,243
Rick Offline
Former Developer
Offline
Former Developer
Joined: Jun 2006
Posts: 9,243
This should be fixed for b4. Using javascript to highlight the current date in the calendar, and there was a slight bug in the time conversion where it wasn't taking into account the server time offset when showing the last post dates.

Re: Default time offset [Re: Rick] #2921 08/26/2006 7:28 PM
Joined: Jul 2006
Posts: 47
Markus_003 Offline OP
journeyman
OP Offline
journeyman
Joined: Jul 2006
Posts: 47
Current date is fixed, and the time showing in the last post dates is shown according to the server time offset, but word TODAY or YESTERDAY next to the date is still calculated according to the original server time, and not according to the time offset. Therefore all post written yesterday afternoon are still shown as TODAY.

Re: Default time offset [Re: Markus_003] #2928 08/26/2006 11:20 PM
Joined: Jun 2006
Posts: 46
Jamin Offline
newbie
Offline
newbie
Joined: Jun 2006
Posts: 46
Same deal here, but vice-versa. My time offset is -1, which should make right now 11:20pm, but the posts made today are saying "yesterday" cuz the server time is 12:20am.

Just throwing in my $0.02 on this issue, since my wife brought it up.

---Jamin


"Those who would give up essential liberty to purchase a little temporary safety, deserve neither liberty nor safety."
Re: Default time offset [Re: Jamin] #2929 08/27/2006 4:21 AM
Joined: Jul 2006
Posts: 47
Markus_003 Offline OP
journeyman
OP Offline
journeyman
Joined: Jul 2006
Posts: 47
My time offset is + 14, therefore I have to wait 14 hours for correct display.

Re: Default time offset [Re: Markus_003] #2933 08/27/2006 10:45 AM
Joined: Jun 2006
Posts: 9,243
Rick Offline
Former Developer
Offline
Former Developer
Joined: Jun 2006
Posts: 9,243
Ugh, this little feature is a pain in the butt wink Back to work on it.

Re: Default time offset [Re: Rick] #3067 09/06/2006 11:38 AM
Joined: Jun 2006
Posts: 9,243
Rick Offline
Former Developer
Offline
Former Developer
Joined: Jun 2006
Posts: 9,243
Ok, I think I finally have this one nailed down.

Re: Default time offset [Re: Rick] #3082 09/06/2006 6:41 PM
Joined: Jun 2006
Posts: 15,848
Gizmo Online Tapedshut
UBB.threads Developer
Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 15,848
Does this mean no more chasing me with a hammer? :'(


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Default time offset [Re: Rick] #3129 09/10/2006 3:38 AM
Joined: Jun 2006
Posts: 3,837
Ian Offline
Carpal Tunnel
Offline
Carpal Tunnel
Joined: Jun 2006
Posts: 3,837
Originally Posted by Rick
Ok, I think I finally have this one nailed down.


Well done smile

Hmmm - just read the word 'think' wink tongue

Re: Default time offset [Re: Ian] #3139 09/10/2006 10:04 AM
Joined: Jun 2006
Posts: 9,243
Rick Offline
Former Developer
Offline
Former Developer
Joined: Jun 2006
Posts: 9,243
That's why I haven't moved this one yet. Will need it tested by some people wink

Re: Default time offset [Re: Rick] #3142 09/10/2006 10:40 AM
Joined: Jun 2006
Posts: 3,837
Ian Offline
Carpal Tunnel
Offline
Carpal Tunnel
Joined: Jun 2006
Posts: 3,837
heck - I am in so many time zones both in Europe and the USA at the moment that I do not even know the current time. laugh

Re: Default time offset [Re: Rick] #3207 09/13/2006 2:01 AM
Joined: Jul 2006
Posts: 47
Markus_003 Offline OP
journeyman
OP Offline
journeyman
Joined: Jul 2006
Posts: 47
Originally Posted by Rick
Ok, I think I finally have this one nailed down.


I am sorry Rick but time display next to post heading is still not working correctly. Today or Yesterda will be shown depending on original server time and not by adjusted server time, as it should. So in my case I still have to wait 14 hours for correct display.

Re: Default time offset [Re: Markus_003] #3215 09/13/2006 9:36 AM
Joined: Jun 2006
Posts: 9,243
Rick Offline
Former Developer
Offline
Former Developer
Joined: Jun 2006
Posts: 9,243
I don't get it. I've manually adjusted my time preferences, the server time, the time offset and everything displayed correctly. I may just have to end up taking this out completely because I can't seem to get this working for everyone. I'll give it one more shot.

Is it wrong for you in all areas? Or just on certain places?

Last edited by Rick; 09/13/2006 9:37 AM.
Re: Default time offset [Re: Rick] #3219 09/13/2006 10:17 AM
Joined: Jul 2006
Posts: 47
Markus_003 Offline OP
journeyman
OP Offline
journeyman
Joined: Jul 2006
Posts: 47
All areas? Same problem on this forum also.

Re: Default time offset [Re: Markus_003] #3222 09/13/2006 1:38 PM
Joined: Jun 2006
Posts: 9,243
Rick Offline
Former Developer
Offline
Former Developer
Joined: Jun 2006
Posts: 9,243
Ok, so I totally reworked the math on this and have uploaded the changes here.

Re: Default time offset [Re: Rick] #3226 09/13/2006 6:48 PM
Joined: Jul 2006
Posts: 47
Markus_003 Offline OP
journeyman
OP Offline
journeyman
Joined: Jul 2006
Posts: 47
I quickly checked few sections of this forum and it looks like this time is working. I will keep my eye on it and will come back frequently during the day (well during the nigth confused ).

Thank you for not giving up on this at first not so important issue. For some reason I like that feature (today, yesterday) but if is not displayed accurately then it is confusing.

Re: Default time offset [Re: Markus_003] #3232 09/14/2006 9:45 AM
Joined: Jul 2006
Posts: 47
Markus_003 Offline OP
journeyman
OP Offline
journeyman
Joined: Jul 2006
Posts: 47
Yes this time it looks like it is working.

Re: Default time offset [Re: Markus_003] #3233 09/14/2006 9:52 AM
Joined: Jun 2006
Posts: 9,243
Rick Offline
Former Developer
Offline
Former Developer
Joined: Jun 2006
Posts: 9,243
yay! Nothing better than finally fixing a bug that's been kicking my butt for awhile wink

Re: Default time offset [Re: Rick] #3242 09/14/2006 5:27 PM
Joined: Jun 2006
Posts: 15,848
Gizmo Online Tapedshut
UBB.threads Developer
Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 15,848
I kick your butt and you don't fix me :nods: wink


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Default time offset [Re: Gizmo] #3245 09/14/2006 5:36 PM
Joined: Jun 2006
Posts: 9,243
Rick Offline
Former Developer
Offline
Former Developer
Joined: Jun 2006
Posts: 9,243
Originally Posted by Gizmo
I kick your butt and you don't fix me :nods: wink


You're one of those bugs that I've given up on laugh

Re: Default time offset [Re: Rick] #3248 09/14/2006 6:00 PM
Joined: Jun 2006
Posts: 196
Ian Spence Offline
enthusiast
Offline
enthusiast
Joined: Jun 2006
Posts: 196
Originally Posted by Rick
Originally Posted by Gizmo
I kick your butt and you don't fix me :nods: wink


You're one of those bugs that I've given up on laugh


I never did figure out that time code, but don't wanna wait for RC1, so could you just PM me the code?


Forum Search
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
What happened to FAQ or Forum Help
by Ruben - 11/20/2019 11:58 AM
Search feature encountering an Error message
by jorb - 11/20/2019 12:06 AM
Followed List v7.7.2 Question
by Ruben - 11/12/2019 12:22 PM
UBB Dev
by JAISP - 11/03/2019 11:01 AM
Exceeded Number of attachments
by rbrtgrmn - 11/02/2019 9:57 PM
Who's Online Now
3 registered members (Gizmo, JAISP, isaac), 58 guests, and 455 spiders.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Amusing Terain Scenics
Amusing Terain Scenics
by isaac, August 19
Sky places
Sky places
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Snapshot build 20191023)