Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
TimeZone Issue - Recent Forum Posts Widget shows "7 hours ago" for a minutes-old post
Avatar
bwyatt
Rookie
Free Members
sp_UserOfflineSmall Offline
Apr 14, 2012 - 5:22 pm

I got a complaint yesterday about this issue.  It apparently happened after I upgraded to 5.05. You can post something and then look at the "last post" time on the main forum page and it says "7 hours ago."  

Is their a solution to this I'm missing?  I'm not understanding the previous posts too well.

I'm here: http://martinsvillemedia.com/?.....age_id=138

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 14, 2012 - 6:30 pm

See if this helps:

http://codex.simple-press.com/.....conds-ago/

andy-signature.png
YELLOW
SWORDFISH
Avatar
bwyatt
Rookie
Free Members
sp_UserOfflineSmall Offline
Apr 14, 2012 - 7:43 pm

The only thing I gleaned from this is that I have been using UTC settings with no problem and you advise not to.  I've changed it now and will wait " a day or so" to see if it corrects itself.

I point out again that the time zone problem I encountered only occurred AFTER the latest update.  Prior to that it was fine and the problem has been reported now by multiple users so it would appear that the update changed something regarding this.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 14, 2012 - 7:51 pm

there were corrections made...  fixed some lingering issues in the time calculation...

but it usually comes down to your server timezone, your wp timezone setting and then the timezone each use has selected for themselves...  if users have not selected at timzone, they easily could be getting a timezone based time which may not be theirs...

thus far, no other reports of 5.0.5 getting off - just confirmation that the few issues previously were corrected... so will need to keep digging on data with yours to see what might be the cause....

Avatar
Vitaly Vishnevsky
Member
Free Members
sp_UserOfflineSmall Offline
Apr 15, 2012 - 1:46 am

Try to change php.ini date.timezone to "Europe/London" for example and put it on your WP time aswell.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 15, 2012 - 4:14 am

bwyatt said
The only thing I gleaned from this is that I have been using UTC settings with no problem and you advise not to.  I've changed it now and will wait " a day or so" to see if it corrects itself.

I point out again that the time zone problem I encountered only occurred AFTER the latest update.  Prior to that it was fine and the problem has been reported now by multiple users so it would appear that the update changed something regarding this.

Just for information purposes the update made in 5.0.5 was triggered by the discovery that there are some plugins out there being used by some of our users, that reset the WordPress timezone setting to do whatever it is they do but do NOT reset it back when they have finished with it. This was causing issues as the calculations were being made against the wrong criteria. The change to 5.0.5 was simply to ensure that the WP server timezone setting was being reset and used.

andy-signature.png
YELLOW
SWORDFISH
Avatar
bwyatt
Rookie
Free Members
sp_UserOfflineSmall Offline
Apr 15, 2012 - 6:24 am

I'm happy to report that all is well this morning.  

I failed to say earlier that when I checked profile / options / edit display options before reporting this issue it had been set to some foreign country (I suppose 7 hours off from my time).  I changed it, but as you say... it takes "a day or so" before it changes.

Is it possible the update changed this setting or maybe as Swordfish says, I have a plugin that changed it.  It was only the setting in SimplePress that had been changed though, the timezone setting in wordpress had not been changed.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 15, 2012 - 10:52 am

I can assure you we do not touch the data during an upgrade unless we are adding new or removing old items. Certainly nothing was changed in the profile data and we would not go near WP data although I believe WP may have touched the server timezone in the 3.3 update.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626