I have a view with contextual filters for a date field to display events based on date:

  • /events/2016 - Shows events for year 2016
  • /events/2016/06 - Shows events for month June 2016
  • /events/2016/06/04 - Shows events for day June 4, 2016

The year and the month filters seem to be working fine, but the day filter seems to be displaying incorrect results. For example, I have an event for June 3 and an event for June 4. If I go to /events/2016/06/03 it returns no results. If I go to /events/2016/06/04 it returns both the event for June 3 and the event for June 4.

Has anyone had this issue, or can anyone tell me what I may be doing wrong?

Comments

natedillon’s picture

I created a new custom field to override the title for these pages, and it appears that the date is always one day behind. So if I go to /events/2016/06/04, the title that is showing up for me is “June 3, 2016 Events”.

natedillon’s picture