mishellnovosel / craft3-timediff

Adds the Twig Date extension to the Craft3 CMS
0 stars 1 forks source link

Craft3 Time Diff

Bring Twig Date extension to your Craft3 CMS.

Plugins should be normaly installed via Craf3 Plugin manager, but as the plugin was not intendet to be shared, it was added as DEV-plugin to my project at the time. So, to implement it, you'll have to do the same.

Installation

Usage

Renders the difference between a date and now:

{{ post.published_at|time_diff }}