Solved

How to use days later filter with property instead of today to show message a year later?

  • 29 January 2024
  • 2 replies
  • 22 views

Badge +1

I want to show a date 365 days after a date i have in “Property name” (customere data).

I can only get it to work with “today”

{% today "%Y-%m-%d" as today %} {{ today|days_later:5 }}

 

But i want it to work with date in my data instead of today?

icon

Best answer by Brian Turcotte 8 February 2024, 21:29

View original

2 replies

Userlevel 7
Badge +36

Hi @Dan30707077!

I’m going to check on this internally and I’ll update the thread ASAP!

Best,

Brian

Userlevel 7
Badge +36

Hi @Dan30707077!

Here is the correct formatting:

 

{{ format_date_string|date:'Y-m-d'|days_later:5 }}

 

Best,

Brian

Reply