Hi there !
I’ve been working with Solspace Calendar add-on and they have this nice easy text format to define time frames for calendar events : https://solspace.com/docs/calendar/date_formatting/ To get events from the last 2 months, I just use
date_range_start="today" date_range_end="2 months"Back to EE tags, I needed to display entries which are 2 months old maximum, and the only way to do that was by using PHP in the template, as shown in the doc : https://ellislab.com/expressionengine/user-guide/add-ons/channel/channel_entries.html#start-on
It would be nice to have the same easy to use text format to define time frames. I don’t really like using PHP inside a template (for me it’s not part of the best practices in EE).
What do you think ?
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.