Do you display the timestamp in a human-friendly format?

Updated by Tiago Araújo [SSW] 5 months ago. See history

123
<introEmbed body={<> Ever looked at a date on a website and had to stop and think, _"Wait, when was that?"_ Instead of displaying timestamps as a rigid date like "2025-03-10 14:30", a more human-friendly format—like "last Sunday" or "3 weeks ago" makes it much easier to grasp at a glance. This is especially useful for past dates, helping users quickly understand when something happened without doing mental math. </>} />
Image

❌ Figure: Bad example - Detailed date formatting is difficult to read

Image

✅ Figure: Good example - Humanized date formatting is easy to read

Note: As per the good example, it's a good idea to include a tooltip with extra information about the date, in case the user needs them.

Acknowledgements

Adam Cogan
Tiago Araujo
Related rules

Need help?

SSW Consulting has over 30 years of experience developing awesome software solutions.

We open source.Loving SSW Rules? Star us on GitHub. Star