This is the backlog of ideas and feature requests from the last two years. Use our new feedback platform to post your new ideas or vote on existing ideas.
It would be great, if Kirby's date filtering capacity were enhanced. Currently, we are able to filter by dates like this (excluding custom filter functions):
$pages->filterBy('date',` '>', '2020-01-01');
The filter methods only allows string comparisons and thus doesn't allow for relative date definitions PHP is able to read, e. g. now or +6 months. Following this conversion on Slack, it would be nice to either add extra date comparisons to the core like
It would be great, if Kirby's date filtering capacity were enhanced. Currently, we are able to filter by dates like this (excluding custom filter functions):
The filter methods only allows string comparisons and thus doesn't allow for relative date definitions PHP is able to read, e. g.
now
or+6 months
. Following this conversion on Slack, it would be nice to either add extra date comparisons to the core likeor a specialized filter method like
or a helper to convert relative date to strings like
where
ymd()
converts any time string toY-m-d
format.