Vielleicht hilft das: date - Documentation - Twig - The flexible, fast, and secure PHP template engine (symfony.com)
Also das ginge wohl ungefähr so:
{% if date(product.releaseDate) < date('-1days') %}
Vielleicht hilft das: date - Documentation - Twig - The flexible, fast, and secure PHP template engine (symfony.com)
Also das ginge wohl ungefähr so:
{% if date(product.releaseDate) < date('-1days') %}