Site Links
Pricing & Order
Members Area
Support Options
Who's Online Now
3 registered members (Ruben, Gizmo, M4TT), 61 guests, and 251 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Hackelton U.K.
Posts: 67
Joined: September 2007
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 14
M4TT 10
mmkk 5
Ruben 5
isaac 4
Latest Photos
Chinese Buddhist temple.
My buddha beads.
Rendered Walls
Multi-Screen wallpaper
Stockholm Metro
Previous Thread
Next Thread
Print Thread
Not synchronizing: database/guest post time bug? #260593
10/19/17 08:29 PM
10/19/17 08:29 PM
Joined: Mar 2015
Posts: 48
Canada, SK
M4TT Online cat OP
M4TT  Online Cat OP
Joined: Mar 2015
Posts: 48
Canada, SK

I've made a few recent posts on my forum and for example, when I view the post, it says it was created 1 hour ago, but on the category/forum listing view, the timestamp says it was made Yesterday at some random hour and time... I tried rebuilding forums and it didn't fix the time.

My Date & Time Settings:

Timezone For Guests
All times will be displayed to guests as if they were in this timezone.

Database Time: 20/10/17 1:28 AM
Database Timezone: UTC

Guest Time: 19/10/17 7:28 PM
Guest Timezone: America/Regina

Difference in hours: -6

Default Time Format

D M d, Y | g:i A

Available Time Formats

y/m/d | g:i A
d/m/y | g:i A
d/m/Y | H:i
D M d, Y | g:i A
m/d/y | g:i A
n/j/Y | g:i A
n/j/Y | H:i
Y-m-d | g:i A
Y-m-d | H:i

Use Relative Timestamps For Guests


Re: Database/Guest Post Time Bug? [Re: M4TT] #260594
10/19/17 09:04 PM
10/19/17 09:04 PM
Joined: Apr 2004
Posts: 1,004
isaac Offline
UBB.threads Developer
isaac  Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
The math seems fine to me.

Database Time of:
10/20 1:28 AM -- UTC TIME

6 hours -- America/Regina, aka, Capitol of Saskatchewan, Canada

10/19 7:28 PM -- Time displayed to guests


By using relative time stamps, you are choosing to display times as hours/minutes RELATIVE to whatever the user's current time is. So, if you posted something an hour ago, it will display in relative time as, "1 hour ago" regardless of whatever you've set timezone to.

But if you disabled relative time stamps, each user would see the posted time (UTC) translated to match their current time offset. Guests would use the time offset you've preselected for them. In this case, you've selected "UTC-06:00 - America/Regina" for your guests.

Shout Box
Today's Birthdays
No Birthdays
Recent Topics
Shout Box Sound Effect
by M4TT. 11/29/17 08:28 PM
Ad island
by TGCsanderson. 11/25/17 06:41 PM
Taking to long to connect to DB
by AstroCat. 11/24/17 12:34 PM
I want to update forum but can't find license
by dimaninc. 11/23/17 10:51 AM
Forum Statistics
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.1
(Snapshot build 20171106)