Show HN: A 1KB zero-dependency relative time formatter for UI systems
Category: library
Tags: time-formatting, i18n, ui-utilities, typescript, zero-dependency
Score: 5.5/10 (Innovation: 4, Technical: 4, Documentation: 8, Utility: 6)
A tiny, zero-dependency TypeScript library for formatting relative timestamps (e.g., '5m ago', 'In 3h') using native Intl.PluralRules. It's interesting because it treats time perception as a configurable design system, offering explicit thresholds and full localization to ensure consistency across different UI surfaces like feeds, notifications, and dashboards.
Target audience: frontend devs, fullstack devs
Repository: https://appents.com/tech/human-time · TypeScript · MIT · 1 stars
View on Hacker News