Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 23 Dec 2019, 03:37
formentera formentera is offline
 
Join Date: Mar 2019
WTF: Guests see DIFFERENT TIME than Registered users

This is very strange: On Settings -> Options -> Date & Time Settings I have selected: (GMT +1:00) CET (Central Europe)

- Registered users, Adminsitrators, Moderators see the time of posts: correctly (OK)

- Guests / Unregistered users see the time of posts: wrong (They see plus 1 hour more than the real hour)

Somebody knows why? groups users works with different times on vB?

If if enter 'date' on SSH of my server I get the real & correct date too! (GMT+1 CET) I'm very confused...
Reply With Quote
  #2  
Old 23 Dec 2019, 17:42
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
You have setting is DST in effect or not. Check your settings, it's explained there.
Reply With Quote
  #3  
Old 24 Dec 2019, 03:06
formentera formentera is offline
 
Join Date: Mar 2019
Originally Posted by Alan_SP View Post
You have setting is DST in effect or not. Check your settings, it's explained there.
I have this on footer template, but this don't solve the problem that 'guests users' see the wrong time (1 hour more than the real one)


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

--------------- Added 24 Dec 2019 at 03:29 ---------------

SOLVED!

For future users with the same problem: You don't need to configure nothing on Linux server or php.ini, or code de on the vB templates...

The real solution:

You can disable DST in admincp >> Date and Time options.
Set "Enable Daylight Savings" to No.

Last edited by formentera; 24 Dec 2019 at 03:30.
Reply With Quote
  #4  
Old 24 Dec 2019, 17:29
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Originally Posted by formentera View Post
You can disable DST in admincp >> Date and Time options.
Set "Enable Daylight Savings" to No.


What I said...

And no, this is not solution, to set it to "No". If there is DST in effect, you must set it to "Yes".

Real solution is to correctly set this setting, depending on DST.
Reply With Quote
  #5  
Old 27 Dec 2019, 13:25
Mark.B Mark.B is offline
 
Join Date: Feb 2004
This behaviour is completely by design.

The global timezone setting in the admincp is simply what guests will see.

Registered users / admins / moderator, anyone with a registered account will see what is set in the user settings.
__________________
MARK.B (Member of the vB Support Team)
Reply With Quote
  #6  
Old 27 Dec 2019, 19:22
In Omnibus's Avatar
In Omnibus In Omnibus is offline
 
Join Date: Apr 2010
Real name: Kris
Can we start every thread with profanity or just this one? Asking for future reference.
Reply With Quote
  #7  
Old 28 Dec 2019, 12:05
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Real name: Anthony
Originally Posted by In Omnibus View Post
Can we start every thread with profanity or just this one? Asking for future reference.
You're stuck inside a blade server, how did you even hear him say it?
Reply With Quote
  #8  
Old 28 Dec 2019, 16:14
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Originally Posted by snakes1100 View Post
You're stuck inside a blade server, how did you even hear him say it?
Well, we can assume that WTF from title means something other that What The F---ck. Or, assume that it means exactly that. But, who knows...
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 01:36.

Layout Options | Width: Wide Color: