I have a view of content type "event". One of the fields is a category of the event which is a taxonomy list and i have a field for the date and time the event takes place.
Now i have set up the view showing the events in a time period i can set through an exposed filter, grouping the events by their date-field (nr.1) and as a second group field by the category (nr.2).
I am sorting this view with the event-field (ascending) as the first sort criteria and Taxonomy term: Weight
as the second sort criteria.
It works as designed, but every event that shares the same time on a given date creates an own group row:
Like this:
- Category-Name
- 4/12/2013
- Event1 12.00h
- Event2 12.00h
- 4/12/2013
- Event3 13.00h
- 4/12/2013
- Event5 14.00h
- Event6 14.00h
- 4/12/2013
What i want to achieve is this:
- Category-Name
- 4/12/2013
- Event1 12.00h
- Event2 12.00h
- Event3 13.00h
- Event5 14.00h
- Event6 14.00h
- 4/12/2013
Question: is it possible to have a formatter that has stripped out the time, so i can group by date only?
Of course i tried a custom display formats for the date beforehand, but this doesn't affect the grouping.
EDIT: the hint about the RDF module helped partly with this issue. I could remove the extra markup in the date field. Nevertheless the sorting of the date field still takes the time of the event into account. There's another sorting i didn't mentioned in the first place, cause I didn't expect it to be relevant.
The location of an events is referenced as entity and also added to a row of an event and sortet by title (asc). Now the date-field is superceding the title of the location, because the event-time is still taken into account.
I had started another question on this other issue, but actually think it belongs here. I still need to strip out the time somehow...