Is there a way to use years as a date filter offset? What I want is to set it so that it it loads all content from the start of the previous year. So >= 01-01-2017 this year, >= 01-01-2018 next year, etc. Is there a way to do that in the View configuration so that it's dynamic? I'm sure I could do it with custom code by altering the query, but I'd rather avoid that.
1 Answer
It turns out this was more of a PHP strtotime() question. I just had to figure out the appropriate phrase to get the time frame I wanted, which is: "first day of january last year". I placed that phrase in the filter's offset value.
now -1 year
default value?