Skip to:
Content

Opened 22 months ago

Last modified 22 months ago

#4340 new enhancement

Outputting timezone-correct timestamp for activity is hard

Reported by: ericlewis Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 1.6-beta
Component: Activity Keywords: 2nd-opinion dev-feedback
Cc:

Description

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 timestamp.

Attachments (1)

4340.diff (1011 bytes) - added by ericlewis 22 months ago.
just a thought.

Download all attachments as: .zip

Change History (2)

ericlewis22 months ago

just a thought.

comment:1 boonebgorges22 months ago

  • Milestone changed from Awaiting Review to Future Release

This is a good idea.

Note: See TracTickets for help on using tickets.