I have a view I want to filter between dates, to have the flexibility of default selection of last 30 days, but be user selectable. I add the filter, attached to the content creation date field, and expose it,  start date -30 days relative. But when setting End Date, and relative of -0 days or -1 days, it fails to save that, so only offers the user the first date field, so its filtering on one specific day, 30 days ago, rather than between dates. 
What am I doing wrong?

Comments

indigoxela's picture

But when setting End Date, and relative of -0 days or -1 days...

Instead of "-0 days" use today and instead of -1 days use yesterday.

Find some background re relative statements on php.net

Thanks, but that makes no difference. I enter Today as the end, Apply, it ignores it, and I still have just the one date selector.