shibro
Show the version of “Relative time follows one ladder, with the full date on hover”

Onboarding and notifications · SU-340

Relative time follows one ladder, with the full date on hover

Flip between the version shibroUI flags and the one it ships. The marks and callouts show what changes.

  • Format units clash, no ladder
  • One ladder same 6 rungs everywhere
  • Under a minute “0 seconds ago”
  • Older than a week raw ISO timestamp
  • Under a day “3 h ago”
  • On hover full local timestamp

What changes

Bad
One feed mixes 5 strings: “0 seconds ago”, “1 minutes ago”, “180 minutes ago”, “1 days ago” and a raw ISO timestamp.
Good
Just now, 5 min ago style minutes, 3 h ago, Yesterday, a weekday for 2-6 days and “Oct 12” from 7 days on; hovering the date shows “Mon, Oct 12, 2026 at 2:03 PM”.

The rules

  • SU-340

    Relative time follows one ladder. Use one product-wide ladder: "Just now" under 1 minute, "5 min ago" under an hour, "3 h ago" under a day, "Yesterday", the weekday for 2-6 days, then a short date ("Oct 12", with the year when it is not the current one) from 7 days on. Always render a time element with datetime and the full local timestamp in title; tick only while the page is visible; build strings with Intl.RelativeTimeFormat, never by concatenation.