I apologize in advance if this is a simple/stupid question.

On my site we have a section that displays upcoming events, with a little description of what's going on, the date & time, etc. The other day I added a condition to hide an entry if it has already taken place. The issue that I'm having is that it looks as though it's hiding it starting with the day it takes place, where I would like it to still be visible until the end of the day.

For example today we have 2 events going on, but they are both hidden.

<div {{ if item_date | is_past }}style="display: none;"{{ /if }}class="small-12 medium-6 columns end">

That's the line where the condition is. I realize it's probably something fairly simple, but I'm not familiar enough yet with everything to know if there's something better to use than "is_past" .

Answered by Patrick Rohrman! Go to answer.