“5 days ago.”
“3 hours and 33 minutes.”
I’ve found this kind of thing to be the main reason I have to drag MomentJS along for the ride.
“5 days ago.”
“3 hours and 33 minutes.”
I’ve found this kind of thing to be the main reason I have to drag MomentJS along for the ride.
Anything for maybe the last hour or I can see; "1 day and 5 hours ago" and making me hover over the string (and pray that there's an alt text available that I still can't copy-paste) is very annoying.
I really wish, space permitting, web designers would start at least including the actual timestamp in the regular/non-alt text as well, at the very least for professional tools if not for social media sites.
One time it works is when your team is across many time zones, the data being listed spans many time zones, and what’s important is knowing the recent events from older ones. And yes, also showing the absolute UTC stamps too
I’m confident ChatGPT or Claude will write you one with one-shot prompt that does exactly what you want. Here’s an attempt at that: https://chatgpt.com/share/9bfe1d60-34cc-46fc-8327-3474c4a7d6...
Likewise. It feels long overdue to have template based formatting natively.