[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 13:46:55 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 frank13):

 Thanks @boonebgorges.

 I just ran a unix date command from the shell command line:
 '''Tue Jul 10 09:39:08 EDT 2012'''

 I ran a PHP date() script in the browser as close to same time I executed
 unix command as possible:
 '''July 10, 2012 at 9:39:09 AM'''

 Being off by only 1 second, I have to believe the system clock and PHP
 clock are in sync.

 When you say dig deeper, I did look at the BP code and noticed that ''if''
 the elapsed time calculation is illogical (meaning a negative) then BP
 displays "active sometime ago". I am tracking a user session now to see
 when the calculation actually begins to track properly. I believe it
 starts tracking properly once a member is inactive for 1 hour or more, but
 I'll have to wait awhile to confirm that assumption.

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


More information about the buddypress-trac mailing list