16 ms·
Just have both: - An hour ago (15:47) - Last week (MON 12 SEP 9:20) - Two years ago (WED 14 APR 2021 11:47) Date format to taste, of course.
by jacknews 3y ago
Just have both:
- An hour ago (15:47)
- Last week (MON 12 SEP 9:20)
- Two years ago (WED 14 APR 2021 11:47)
Date format to taste, of course.
- mvdtnz 3y agoWhy? What's wrong with just the date?
- SpaceNoodled 3y agoSometimes I turn my math brain off
- kube-system 3y agoSometimes relative time is more user friendly or more accurately answers a question.
- tome 3y agoIt significantly reduces mental exertion to have the calculation performed for you!
- pintxo 3y agoThe problem with this is that the dev cannot know which calculation I need!
- tome 3y agoRight, and that's the case with every feature implemented in software. Showing both the precise datetime of creation and a "human readable ago" seems to cover a lot of bases that users seem to like, though. Recall, we're commenting on a thread that's proposing removing a feature that already exists (so presumably people want it).
- myk9001 3y agoThe idea of rendering relative dates instead of the actual dates caught up about 10 maybe 15 years ago (a relative date here, yes). I think -- but don't take my word for it -- it was Jeff Atwood who started advocating for it. So we might be talking not about removing a feature, but correcting a mistake here :)
- mvdtnz 3y ago"Significantly"? Are you sure?
- myk9001 3y agoWhat are some situations where you find calculating the relative date useful? Personally, if I care about a timestamp at all it's because I want to compare it to another date (maybe a past date, maybe a present or future one): a deadline, an event, a birthday. Relative dates actually make such comparisons harder. On the other hand, seeing an actual date like 2022/10/03 it's dead simple to tell that was a year ago, it's equally easy to tell whether something happened this year, or last month, or two days ago, etc.
- johnnyanmac 3y agowe're talking about a casual context, so the average user doesn't need an exact time stamp on when a picture was taken. The average person doesn't talk in time stamps, so the paradigm was shifted to display how people communicated. Another nitpick is that relative dates solve the date format issue. No need to fuss over YYYY/MM/DD or DD/MM/YYYY or any other permutation, but we all can agree on when "7 months ago" was.
- pridkett 3y agoIn my mind 2020 was still last year. Having both relative and absolute is a nice reminder.
- bombcar 3y agoBut I really don't need to see 2000 (Twenty three years ago).
- xigoi 3y agoI don't usually remember what date it is.
- doomroot 3y agoBecause oftentimes you think in chunks of time not dates. If a meeting is in 3 hours in instantly know what kinds of things I can do before that meeting. If a meeting is at 4:45pm. I have to know the current time, calculate the difference then I can start planning my time.
- loloquwowndueo 3y agoThere’s this wonderful thing called a “watch”…
- 0fox 3y agoThe main complaint in this thread seems to be that the chunks of time reported are misleading.
- mvdtnz 3y agoSeriously? Your complaint is that you have the extra mental overhead of having to know the time?
- johnnyanmac 3y agoFor the average person, yes. Less trivial is taking into account time zones. if you're traveling and have some jet lag, "10:30" may not actually mean 10:30 to your biological clock. but "in one hour" is universal (even if your body is confused).
- funcDropShadow 3y agoYou know, you can dumb down stuff too much. But if I am travelling it is even more error prone for my computer to compute the correct difference.
- watwut 3y agoI have current time constantly on the right bottom portion of the screen. I do know the time literally any time I want to.
- 3y ago
- jameshart 3y agoAn actual usecase: When I’m looking at when a merge request was merged in to master in gitlab, often the level of granularity I am interested in is ‘roughly how long ago’, or ‘what day in the last week was that?’ - the thing I am trying to figure out is just ‘did that go live last Tuesday or last Wednesday?’ I can recover that information from a date with a little mental arithmetic or a cross lookup to a calendar but it would be nice if the computer told me that. On the other hand, sometimes when I am looking for when a git merge request was merged in I am looking for ‘was it a few minutes before or a few minutes after this error started happening in production?’ And the precise timestamp is of intense interest. At that point seeing a bunch of merge requests tagged as ‘last Tuesday’ is incredibly unhelpful to me. But so would just an unadorned date be. In general I would lean towards providing the information in a raw form but also contextualized. But ‘just a date’ is often the worst of both worlds. Even worse if I don’t know which time zone the date is being reported relative to (people often display UTC dates without clarifying that, or even considering that dates need time zone adjusting too). My dream contextualized timestamp would be something like 2023/10/09 13:47:20 (Monday, 5 days ago)
- bombcar 3y agoIt would be nice if the OS/Browser could detect a date, and calculate those for you, wheresoever it saw it. Of course, this brings up that text date strings are often vague/could have multiple interpretations.
- dTP90pN 3y agoIf web developers would just start using `<time>`, we might someday reach such a reality.
- mvdtnz 3y agoObviously when I said "just the date" I mean the full date time stamp, which is the thing we're discussing.
- john_cogs 3y agoYou can set your preference to display exact times in GitLab. See my prior comment: https://news.ycombinator.com/item?id=37881456 https://news.ycombinator.com/item?id=37881456
- dijksterhuis 3y agoIn frontends I’ve found it useful to have - relative rendered on page - actual time stamp / date format in a tooltip over relative If people want more detail they can hover mouse over the relative date.
- lhamil64 3y agoWhat about on mobile?
- dijksterhuis 3y agoMake it a “hidden” link or something like on discord maybe? Edit — I’m not a frontend dev. I shall defer to their expertise in said matters.
- kirubakaran 3y agoLong press brings up tooltips in iOS. Perhaps in Android too.
- busymom0 3y agoThat's only if the text isn't also a link. For example, on hacker news, the time is also a link. So long press shows the preview of the link instead of tooltip on iOS.
- yreg 3y agoIf it's not a link then open the tooltip on tap. And I'm not sure it should be a link. Using the displayed time for a permanent link to a post - while ubiquitous - is a weird UI hack.
- michaelcampbell 3y agoI agree and enjoy this, but I'm old and use mostly a computer where I have a mouse to hover with. I don't even know HOW to do that on mobile.
- 3y ago
- ccooffee 3y agoI used to put exact time/date information into tooltips, thinking "the users that need it can find it without overloading the UI". I ended up undoing a lot of that a few years later when user interviews demonstrated that hyperlink-style underlines was insufficient for users to think "mouse over this". With the prevalence of emoji and higher resolution displays, I wonder if tooltip hinting with an obnoxious question-mark or magnifying-glass image would be sufficient to hint to older/less-savvy users.
- coding123 3y agoYou need to tooltip it without underlines... Maybe you did but couldn't tell from your comment.
- ccooffee 3y agoWithout underlines makes the data even more hidden. The style looks nice and clean to expert users, but I don't expect any of my less-savvy users to actually find it. (Though I could be very off-base as I've never A/B tested tooltip hinting.)
- Izkata 3y agoDotted underlines are an old convention for "there's a tooltip here". Don't see it often anymore though.
- yosito 3y agoApproximately two thirds of my time on the internet is spent without a mouse, so probably not.
- mvdtnz 3y agoOr... just render the date.
- johnnyanmac 3y agoThey did mention "without overloading the UI".