View Issue Details

IDProjectCategoryView StatusLast Update
0002732Composrcorepublic2016-12-08 16:55
ReporterChris GrahamAssigned To 
SeverityFeature-request 
Status non-assignedResolutionopen 
Product Version 
Fixed in Version 
Summary0002732: 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
Time estimation (hours)2
Sponsorship open

Activities

Chris Graham

2016-07-17 15:04

administrator   ~0004148

Oh, actually we can implement via a get_timezoned_time_tempcode function.

Patrick Schmalstig

2016-10-13 01:46

administrator   ~0004415

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.

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 Patrick Schmalstig Note Added: 0004415
2016-12-08 16:55 Chris Graham Tag Attached: Non-bundled addon: Activities