Search results
58 packages found
Localized relative date/time formatting
Formats JavaScript dates to relative time strings.
Localized relative date/time formatting in React
A natural language parser for dates, times and intervals.
Datetime types, relative dates, math, iterators, composable formatters, locales
- datastructure
- date
- format
- i18n
- interval
- iterator
- math
- offset
- parser
- precision
- relative
- smpte
- string
- time
- View more
Format the relative time between the current date and a given date in a human readable format. The output is rounded to the nearest time unit, i.e. 1 year ago, 5 minutes ago, in 3 days, in 6 seconds
A zero-dependency React hook for formatting relative dates.
Relative format as cdate handler
Minimal immutable date class that supports relative time, calendar time, and plus/minus of different units.
Parse human relative time strings like "next Tuesday 3pm".
Efficient, lightweight, auto-updating timeago timestamps for Svelte
Simple function that recieves a Date object that is in the future or is in the past and gives back the relative time using Intl.RelativeTimeFormat('en', { numeric: 'auto' })
A library that converts relative string text to JavaScript dates
Formats JavaScript dates to relative time strings.
Parse relative datetime tokens into date objects
Given an array of dates, this module will find the date nearest to a given target date. Can be used to find the nearest number as well
Return dates and times in easily readable formats
Localized relative date/time formatting in React
Human readable relative times (eg. 4 minutes ago)
Dictionary for yesterday, today and tomorrow.