|
|
Joined: Sep 2006
Posts: 165
Member
|
Member
Joined: Sep 2006
Posts: 165 |
There is a discrepancy between the database time and the forum time...is this a bug? I am running into this issue creating polls with start and end times...anyone have an answer or how to fix?
Primary Date & Time HTML Includes Timezone For Guests All times will be displayed to guests as if they were in this timezone.
Database Time: 09/16/17 08:54 PM Database Timezone: UTC
Guest Time: 09/16/17 04:54 PM Guest Timezone: America/New_York
Difference in hours: -4
|
|
|
|
Joined: Jun 2006
Posts: 16,301 Likes: 116
|
Joined: Jun 2006
Posts: 16,301 Likes: 116 |
In v7.6.0 we store timestamps in the database as +0/GMT. As a guest user cannot configure their own timezone in their preferences like a user can, there is a setting for their "default timezone" in the control panel.
Previously there was a hardcoded time as whatever the forum default time was, and users could set an offset based on that, now they just select their timezone.
|
|
|
|
Joined: Sep 2006
Posts: 165
Member
|
Member
Joined: Sep 2006
Posts: 165 |
Thanks for your reply but I don't understand what you are saying?
When I created a poll to start at 12:01 am in the poll after saving the poll it shows a start time of 8:01 which is 4 hours earlier than the start time I set...where in thge control panel do I change the settings in my initial post?
|
|
|
|
Joined: Apr 2004
Posts: 1,945 Likes: 145
|
Joined: Apr 2004
Posts: 1,945 Likes: 145 |
New York time is: UTC -4 hours. The forum stores all data in UTC time. If you have set your "Guest Time" up to be -4 hours, all times will display as "UTC TIME -4 HOURS" to guests.
In older versions of UBB.threads (7.5.x and older), the time was based on OFFSETS. This meant that each user needed to manually update their forum time offset twice each year. The current version of UBB.threads (7.6.x +) uses Time Zones.
|
|
|
|
Joined: Sep 2006
Posts: 165
Member
|
Member
Joined: Sep 2006
Posts: 165 |
My guest time zone is set to to the current time in the drop down..on the right...where else can I set it so the -4 hours zero's out?
BTW, I am the admin and I am having the issue
Last edited by Larry Miller; 09/16/2017 5:13 PM.
|
|
|
|
Joined: Apr 2004
Posts: 1,945 Likes: 145
|
Joined: Apr 2004
Posts: 1,945 Likes: 145 |
If you want it to "zero out," within the forum Control Panel, set the Guest Timezone to "UTC+00:00." This will give you absolute ZERO time adjustments for guest users.
If you want to change the display just for your own account, you can update your own account settings in the Display Preferences page, under "Your Timezone." This will only affect your account, since this is your account's Display Settings.
EDIT: Remember though, all times are stored within the database as UTC+00:00.
Last edited by isaac; 09/16/2017 5:21 PM.
|
|
|
|
Joined: Sep 2006
Posts: 165
Member
|
Member
Joined: Sep 2006
Posts: 165 |
Thank you...much appreciated
|
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
1 members (Ruben),
667
guests, and
166
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|
|