80
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 31 Aug 2025
80 points (100.0% liked)
Asklemmy
50255 readers
501 users here now
A loosely moderated place to ask open-ended questions
Search asklemmy ๐
If your post meets the following criteria, it's welcome here!
- Open-ended question
- Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
- Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
- Not ad nauseam inducing: please make sure it is a question that would be new to most members
- An actual topic of discussion
Looking for support?
Looking for a community?
- Lemmyverse: community search
- sub.rehab: maps old subreddits to fediverse options, marks official as such
- !lemmy411@lemmy.ca: a community for finding communities
~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~
founded 6 years ago
MODERATORS
I'm running into this problem in a little web app I wrote for myself. If the tooltip text is selectable and you try to select the hoverable text, it'll sometimes's also select the tooltip text. It's annoying when you're trying to copy something. Just not annoying enough to fix yet.
So you have to make a choice in what is more valuable to make available to the user. I think relative time is more useful since I'm more concerned about how recently it was posted, and I don't want to math it out in my head every time.
If I had to make a general rule I would say relative dates for recent but precise for older. "1 hour" is good enough in a lot of cases but "2 years" is too vague.
A fancier UI could have a user setting for what dates to display, or if you click the date it changes to the other format. Maybe even for all dates on the page so it could be quickly toggled. Or clicking the date selects/copies it.
Admittedly a very marginal use case so for a small software, might not be a good use of time.
I think text on the page should be selectable but tooltips should not. Although I do generally appreciate lemmy's overall use of
user-select: none
because it omits all the little icons like voting and reply which are unlikely needed and clutter up destination text file. I don't always love how it skips thelink
icon because then I need to copy it separately. (Combining the timestamp with thelink
in the way of old blog trackbacks is still logical.)Unless I'm trying doing some internet sleuthing, I don't think I've ever ran into a scenario where "2 years ago" was insufficient precision, let alone having the need to copy the exact timestamp with any frequency. I'm curious about what your use case is.
Anything with time sensitivity, context or relation to other events.
Haven't you ever read something very differently that was written Jan 2020 compared to April 2020? They're both "5 years ago". Or sometimes people will reference current events in passing. If someone mentions "what trump just did" you need to know with more granularity than 1 year to understand.
More mundanely, "Indiana stinks this time of year" is meaningless without knowing the date.