Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jul 2006
Posts: 47
M
journeyman
journeyman
M Offline
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 12:38 PM.
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
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
Mark S #2636 08/13/2006 10:18 PM
Joined: Jul 2006
Posts: 47
M
journeyman
journeyman
M Offline
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.

Joined: Jun 2006
Posts: 136
O
member
member
O Offline
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
Okusi #2672 08/14/2006 10:26 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
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.

Rick #2833 08/22/2006 4:00 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
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.

Rick #2921 08/26/2006 8:28 PM
Joined: Jul 2006
Posts: 47
M
journeyman
journeyman
M Offline
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.

Joined: Jun 2006
Posts: 46
J
newbie
newbie
J Offline
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."
Jamin #2929 08/27/2006 5:21 AM
Joined: Jul 2006
Posts: 47
M
journeyman
journeyman
M Offline
Joined: Jul 2006
Posts: 47
My time offset is + 14, therefore I have to wait 14 hours for correct display.

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Ugh, this little feature is a pain in the butt wink Back to work on it.

Rick #3067 09/06/2006 12:38 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Ok, I think I finally have this one nailed down.

Rick #3082 09/06/2006 7:41 PM
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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.
Do you need Forum Install or Upgrade Services?
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!
Rick #3129 09/10/2006 4:38 AM
Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
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

Ian #3139 09/10/2006 11:04 AM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
That's why I haven't moved this one yet. Will need it tested by some people wink

Rick #3142 09/10/2006 11:40 AM
Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
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

Rick #3207 09/13/2006 3:01 AM
Joined: Jul 2006
Posts: 47
M
journeyman
journeyman
M Offline
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.

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
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 10:37 AM.
Rick #3219 09/13/2006 11:17 AM
Joined: Jul 2006
Posts: 47
M
journeyman
journeyman
M Offline
Joined: Jul 2006
Posts: 47
All areas? Same problem on this forum also.

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Ok, so I totally reworked the math on this and have uploaded the changes here.

Rick #3226 09/13/2006 7:48 PM
Joined: Jul 2006
Posts: 47
M
journeyman
journeyman
M Offline
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.

Joined: Jul 2006
Posts: 47
M
journeyman
journeyman
M Offline
Joined: Jul 2006
Posts: 47
Yes this time it looks like it is working.

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
yay! Nothing better than finally fixing a bug that's been kicking my butt for awhile wink

Rick #3242 09/14/2006 6:27 PM
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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.
Do you need Forum Install or Upgrade Services?
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!
Gizmo #3245 09/14/2006 6:36 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
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

Rick #3248 09/14/2006 7:00 PM
Joined: Jun 2006
Posts: 196
I
enthusiast
enthusiast
I Offline
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?


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
1 members (Havenofsobriety), 458 guests, and 91 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)