Feature #15647
Improved "date" column in group forum display
0%
Description
From #15646:
1. Post Dates: In the main group forum listing, the right-hand column lists the "last post" for a given topic, but does so by offering a temporal comparison from the current moment -- e.g. "20 hours, 19 minutes ago." This gets less and less useful as one goes back in time -- right now, for instance, I'm looking for a post I made in January, but I'm having to sort through temporal markers like "3 weeks, 2 days ago," which require calculation on my end. I think it would be a lot simpler if we just listed a time/date stamp instead for when the last post was made.
Moving away from relative timestamps seems like a straightforward and sensible change.
Related issues
History
#1
Updated by Boone Gorges 4 months ago
- Related to Feature #15646: Forum improvements added
#2
Updated by Raymond Hoh 4 months ago
What if we show the relative time if the last post is still less than a week old? Anything older gets the absolute time. For absolute time, does a format of "Mar 16, 2022, 12:00pm" work?
For relative time, we could also change the title
attribute to use the absolute time instead of the not-very-helpful topic title when you currently mouseover the last post time.
#3
Updated by Boone Gorges 4 months ago
For relative time, we could also change the title attribute to use the absolute time instead of the not-very-helpful topic title when you currently mouseover the last post time.
This is a great idea.
What if we show the relative time if the last post is still less than a week old? Anything older gets the absolute time.
This had occurred to me too. Matt, do you have a preference?
#4
Updated by Colin McDonald 4 months ago
This sounds good to me. Adding Matt as a watcher here, if that helps get his view on the relative time interval to show.
#5
Updated by Matt Gold 4 months ago
What if we show the relative time if the last post is still less than a week old? Anything older gets the absolute time.
This had occurred to me too. Matt, do you have a preference?
This seems like a fine solution to me, unless it's simpler (and less computationally intensive) to just go all-absolute time, which I also think would be fine. If page load speed is not an issue, then this suggestion sounds good to me. Thanks to you both for thinking this through.
#6
Updated by Raymond Hoh 3 months ago
- File relative-date.gif relative-date.gif added
- Status changed from New to Staged for Production Release
Done in https://github.com/cuny-academic-commons/cac/commit/1d03c8ae72bafe4e97c9b91fd6283f0d3e9b58e2.
See attached GIF.
#7
Updated by Boone Gorges about 1 month ago
- Status changed from Staged for Production Release to Resolved