View Issue Details

IDProjectCategoryView StatusLast Update
2732Composrcorepublic2016-12-08 16:55
ReporterChris Graham Assigned ToGuest  
PrioritynormalSeverityfeature 
Status newResolutionopen 
Summary2732: Support contextual times
DescriptionWe support contextual dates ("Today", "Yesterday"), but not contextual times.

It would be nice for a time or date_time query to be able to return like "10 minutes ago".

However, this is also problematic - it breaks cache layers. So it might have to be made opt-in in the code and only show in certain places, e.g. the forum.
TagsNon-bundled addon: Activities
Attach Tags
Time estimation (hours)2
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

Chris Graham

2016-07-17 15:04

administrator   ~4148

Oh, actually we can implement via a get_timezoned_time_tempcode function.

PDStig

2016-10-13 01:46

administrator   ~4415

I agree this would be useful on the forum and notifications, and perhaps the activity feed addon as well. I'm not so sure contextual dates and times would be a good idea on content though (such as publish dates for news, galleries, downloads, and so on). Since content is not a "stream", like forums, notifications, and activity feeds are... it would probably be best to leave actual dates and times for those.

Add Note

View Status
Note
Upload Files
Maximum size: 32,768 KiB

Attach files by dragging & dropping, selecting or pasting them.
You are not logged in You are not logged in. This means you will not get any e-mail notifications. And if you reply, we will not know for sure you are the original poster of the issue.

Issue History

Date Modified Username Field Change
2016-07-17 14:56 Chris Graham New Issue
2016-07-17 15:04 Chris Graham Note Added: 0004148
2016-10-13 01:46 PDStig Note Added: 0004415
2016-12-08 16:55 Chris Graham Tag Attached: Non-bundled addon: Activities