twas

Time duration formatter

A JavaScript function to express time durations relative to the current moment

🕰 Tiny (280B) relative time string function (eg: "3 seconds ago")

GitHub

250 stars
3 watching
10 forks
Language: JavaScript
last commit: almost 2 years ago
Linked from 1 awesome list

agofrom-nowrelativetimetimeago

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
retraigo/duration.js Library for working with time durations 21
hustcc/timeago-react A small React component to format dates with time ago statements. 420
lukeed/fromnow A utility for displaying human-readable time differences between now and past or future dates. 190
hako/durafmt A Go library for parsing and formatting time durations into human-readable strings 495
jonschlinkert/time-stamp A utility library to format timestamps in various ways. 111
aweary/tinytime A lightweight JavaScript template engine for formatting dates and times. 1,338
flrs/visavail A JavaScript library that visualizes the availability of time-dependent data with a chart on a website. 310
iyassou/ustrftime A MicroPython implementation of time formatting functions 2
brockpetrie/vue-moment Filters and formats dates using the Moment.js library in Vue.js applications. 1,313
freaky/rtss Provides relative timestamps and duration annotations for standard output and error streams in various Unix-like command-line tools. 52
pragmaticly/smart-time-ago A jQuery library to update relative timestamps in web pages dynamically based on time intervals and timestamp values. 583
samverschueren/tz-format Formats a date with a timezone offset 10
40ants/humanize-duration A library that provides a human-readable representation of time durations. 9
totallyinformation/node-red-contrib-moment Produces formatted Date/Time output using the Moment.JS library in Node-RED 34
goschtalt/approx A package that extends the standard Go time library to support parsing and manipulation of approximate time durations in days, weeks, and years. 12