Registry / utility / time-ago-in-words

time-ago-in-words

JSON →
library0.1.1rbrubygemsunverified

Humanizes elapsed time from some Time instance to Time.now, e.g. '2 hours and 1 minute ago'.

gem install time_ago_in_words
INSTALL
IMPORT
SIG · TIME-AGO-IN-WORDS
T
time-ago-in-words
utilityrubyv0.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TimeAgoInWords
✓ require 'time_ago_in_words'

Convert a past time to a human-readable string.

require 'time_ago_in_words' puts TimeAgoInWords.time_ago_in_words(Time.now - 3600) # => '1 hour ago'
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
14
Resources
time-ago-in-words — gem install time-ago-in-words · libregistry