jekyll-timeago

By markets

A gem plugin to compute distance of dates in words, available as a Liquid Filter and as a Liquid Tag, Localization (i18n)

To install, add this to your Gemfile:

gem "jekyll-timeago"

and run bundle install. To use, run Jekyll with bundle exec preceding it:

$ bundle exec jekyll build
$ bundle exec jekyll serve

Source code