RubyFlow The Ruby and Rails community linklog

Timeago date filter for Liquid templates!

Jekyll-timeago is a Liquid extension to compute and display distance of dates in words. It allows localization and integrates easily with Jekyll. You can use it via a filter or via tag:

{{ a_date_object | timeago: '2020-1-1' }} {% timeago 2010-1-1 2020-1-1 %}

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in