[buddypress-trac] [BuddyPress] #4310: Members Profile Shows "active sometime ago"
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Tue Jul 10 14:37:58 UTC 2012
#4310: Members Profile Shows "active sometime ago"
-------------------------------------------+------------------------------
Reporter: frank13 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Core | Version: 1.5.6
Severity: normal | Resolution:
Keywords: needs-patch reporter-feedback |
-------------------------------------------+------------------------------
Comment (by boonebgorges):
> How do I get bp_core_current_time() to know that the clock time is 4
hours earlier than it thinks it is?
That's easy - there is a filter `'bp_core_current_time'` that you can use
to change its output to whatever you want.
A more important question is why `bp_core_current_time()` is returning the
wrong time to begin with. What time zone are you in? Is `current_time()`
(wp-includes/functions.php) working correctly for you? If `gmdate()` is
returning an incorrect time, then you might have a PHP configuration
issue.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4310#comment:7>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list