Skip to content

About

Provides casual time strings, such as "about a minute ago"

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

FriendlyTime

Build Status Code Climate Test Coverage Issue Count license Gem Gem

Provides casual time strings for events in the past. E.g. "about 10 minutes ago".

Installation

$ gem install friendly_time

Usage

friendly_time -t 1481033316000
//outputs: seconds ago

friendly_time -t 1481033316000 -f 14810333150
//outputs: years from now

See also the unit tests.

Development

gem install bundler

Get the development dependencies

bundle install

About

Provides casual time strings, such as "about a minute ago"

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages