I have installed views and calendar and have a nice Upcoming Events view (lower right at http://www.coghlancapital.com/).

I have added a filter to ensure only events after "now" appear but that means that if I add an event for 2PM today it displays all the way until midnight. I want it to disappear after 2PM.

How can I amend the filter to ensure the >now means in terms of BOTH time and day?

Thanks,

Comments

paulcoghlan’s picture

Its OK, I managed to resolve this by changing the date format and group field. Managed also to get to to drop events as they pass in time.

tentonjim’s picture

Hi,
I think I have the same exact situation... I have a view that displays upcoming events happening at a certain time... need to remove them (or have appear in a different view) after whatever that start time is. Currently, they stay in that "upcoming" view throughout the entire DATE instead of expiring after the start time.

Any details you could post on how you remedied this I would REALLY appreciate!
Thanks!

narayanis’s picture

In the view, find the filter for your date field. The default granularity is Day; if you set it to Minute, it should do what you want.

paulcoghlan’s picture

narayanis has it correct. The granularity is the key.

Shout if you have further issues.

Paul

bzsim’s picture

I'm trying to do the same thing and have not been successful. I am using the Calendar module and trying to get the "Upcoming" display to show all upcoming events based on the current date. I have a field named field_event_date in which the date and time of an event is entered like so: 3/21/2011 - 2:00pm.

I went to my filters and field_event_date is in the list but only the -delta one. It does not give an option for granularity. In any case I added the filter and set it to greater than or equal to now, and that did not work. The view is displaying all of March's event.

The view is using an argument on the date: date(node) in which I have set the granularity to hour (which was the smallest option). It was set at month which is why I thought I was seeing all of the current month's events, but when I changed it to hour there was no difference in my results. What am I overlooking? I'm confused on which to use for my filter: the date(node) like in my argument, or should it be the content field_event_date?