An npm ES module package which converts a UTC time in milliseconds to a relative time (e.g. Tomorrow, 16:00)
-
Updated
Aug 17, 2022 - TypeScript
An npm ES module package which converts a UTC time in milliseconds to a relative time (e.g. Tomorrow, 16:00)
A utility helper to calculate "time ago" or "from now " in a readable format using Intl API
🚗 记录一些轻量级的前端库 (造轮子)。👉 主打 "简洁、通用、无依赖"。
Time toolkit to parse strings into relative date time objects, ideal for pickers and preventing premature cache invalidation
Add a description, image, and links to the relative-time topic page so that developers can more easily learn about it.
To associate your repository with the relative-time topic, visit your repo's landing page and select "manage topics."