[buddypress-trac] [BuddyPress Trac] #6421: Incorrect timestamp in messaging

buddypress-trac noreply at wordpress.org
Wed May 6 12:53:55 UTC 2015


#6421: Incorrect timestamp in messaging
---------------------------+------------------------------
 Reporter:  adhoc-magicit  |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  API            |     Version:  2.2.3
 Severity:  normal         |  Resolution:
 Keywords:                 |
---------------------------+------------------------------

Comment (by boonebgorges):

 Thanks for the screenshot.

 Is there any chance you can be more specific about where the incorrect
 timestamp is appearing? Is it the timestamp ("Sent x minutes ago") that
 appears next to a user's name when viewing a single thread, eg
 example.com/members/boone/messages/view/12345?

 Can you easily access the database directly, either via the command line
 or a program like PHPMyAdmin? Verify that date_sent entry in the
 wp_bp_messages_messages table is correct - it should be stored in UTC.

 The only way I'm able to reproduce the problem in any way is to override
 WP's resetting of the default timezone to 'UTC'
 https://core.trac.wordpress.org/browser/tags/4.2.1/src/wp-
 settings.php#L42. If I set this to 'Europe/Warsaw', then I see the offset
 that you've reported here. But even in this case, the offset is the same
 for each user. WP and BP have no native functionality that allows
 individual accounts to set their own local time, so the same timestamp
 should be appearing for everyone. I know you said that this is a clear
 WP/BP installation, but please double check that you don't have anything
 in wp-config.php, wp-content/mu-plugins, or your theme that might be
 affecting timezone offsets, specifically on a per-user basis.

 You might also consider reaching out to your host to ask whether they're
 doing anything that might interfere with WP's timezone settings.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6421#comment:7>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list