mediabeastnz / timeago
Craft 3 Time-Ago Twig Filter
Installs: 7 724
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 0
Open Issues: 0
Type:craft-plugin
Requires
- craftcms/cms: ^3.0.0
This package is auto-updated.
Last update: 2024-10-22 13:00:27 UTC
README
Time Ago twig filter
Requirements
This plugin requires Craft CMS 3.0.0 or later.
Installation
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project
-
Then tell Composer to load the plugin:
composer require mediabeastnz/timeago
-
In the Control Panel, go to Settings → Plugins and click the “Install” button for Time Ago.
Using Time Ago
{{ entry.postDate|time_ago }}