[buddypress-trac] [BuddyPress] #4340: Outputting timezone-correct timestamp for activity is hard

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue Jul 10 20:37:30 UTC 2012

#4340: Outputting timezone-correct timestamp for activity is hard
 Reporter:  ericlewis    |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Activity     |    Version:  1.6-beta
 Severity:  normal       |   Keywords:  2nd-opinion dev-feedback
 When displaying the date an activity update was created, bp-default
 outputs the time elapsed since the activity was created. However, if a
 theme wants to display that in a timestamp, it will have to do some
 tricker of its own to print out a properly formatted timestamp that is
 respective of the timezone set in WP settings.

 I think a template function may serve well here, something like
 get_activity_timestamp(), which would return the timezone-correct

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4340>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list