Provides casual time strings for events in the past. E.g. "about 10 minutes ago".
$ gem install friendly_time
friendly_time -t 1481033316000
//outputs: seconds ago
friendly_time -t 1481033316000 -f 14810333150
//outputs: years from now
See also the unit tests.
gem install bundler
Get the development dependencies
bundle install