Opened 11 months ago
Last modified 11 months ago
#4340 new enhancement
Outputting timezone-correct timestamp for activity is hard
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Future Release |
| Component: | Activity | Version: | 1.6-beta |
| Severity: | normal | 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)
Change History (2)
comment:1
boonebgorges — 11 months ago
- Milestone changed from Awaiting Review to Future Release
This is a good idea.
Note: See
TracTickets for help on using
tickets.

just a thought.