[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 17:38:49 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):

 Replying to [comment:13 boonebgorges]:
 > > But it is peculiar to me why I am having this issue and conceivably no
 one else is...
 >
 > It's peculiar to me too. That's why I'm taking the time to attempt to
 debug it with you :)

 Ok @boonepgorges -- I am in between meetings until 2pm (20 minutes from
 now).

 Here is what I dumped:
 PHP date('g:i:s a') from within WP/BP = 7:32:52 pm
 bp_core_time_since( $older_date ) = 2012-07-10 17:30:28 [on first member
 in list filtered by Last Active]
 bp_core_time_since( $newer_date ) = 'null'
 $since [from within bp_core_time_since()] = -7056

 But what is interesting is that PHP date('g:i:s A') from a script I ran
 through a browser outside the WP/BP installation, yet on the same server,
 returns = 1:32:49 PM

 How can that be?

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


More information about the buddypress-trac mailing list