[buddypress-trac] [BuddyPress Trac] #4310: Members Profile Shows "active sometime ago"

buddypress-trac noreply at wordpress.org
Tue Jun 24 15:32:11 UTC 2014


#4310: Members Profile Shows "active sometime ago"
-------------------------------------+-----------------------------
 Reporter:  frank13                  |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Future Release
Component:  Core                     |     Version:  1.5.6
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+-----------------------------
Changes (by r-a-y):

 * keywords:  needs-patch reporter-feedback => has-patch needs-testing


Comment:

 > As I understand it, strtotime() uses the default local timezone when
 calculating the Unix timestamp.

 Thanks for the feedback.  It's something I've suspected in the past
 (comment:24).

 In `01.patch`, I've added a new parameter to `bp_core_current_time()` so
 we can use the UNIX timestamp instead of the MySQL date and changed
 bp_core_time_since() to use this parameter and removed the `strtotime()`
 usage.

 Untested, but let me know if this works for you, tonyhawkins or frank13.

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


More information about the buddypress-trac mailing list