SyntaxError: Unknown "time_diff" filter

Created on 1 July 2019, almost 5 years ago
Updated 5 June 2024, 20 days ago

I am trying the {{ post.published_at|time_diff }}
on a date field inside a views rewrite results: {{ field_event_due_1|time_diff}}:
(D 8.7.3 - I installed with composer as described on module page.)

The website encountered an unexpected error. Please try again later.

Twig\Error\SyntaxError: Unknown "time_diff" filter in "__string_template__df.....c722" at line 2. in Twig\ExpressionParser->getFilterNodeClass() (line 788 of /var/www/html/vendor/twig/twig/src/ExpressionParser.php).

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡¦πŸ‡ΉAustria maxilein

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024