I have a date field setup for a content type and when I implement a view to list that content type and setup a contextual filter on that date field with display summary checked when no value is present, with the month checked as granularity, there are two bugs I noticed. One is that an item with the date set as July 1, 2011 is showing as June, and the other is that nodes are not being grouped under months, so for four nodes, 2 in June and 2 in July I see:

June, 2011 (1)
June, 2011 (1)
June, 2011 (1)
July, 2011 (1)

Though I can use the select list and the repeats go away, the count is wrong and a date of july 1, 2011 appears under the summary for June both when and argument is supplied for june and when none is supplied, it also does not appear under july when that argument is present. This is with Views 7.x-3.0-rc1, Date 7.x-2.0-alpha3, drupal 7.4

Comments

karens’s picture

Status: Active » Postponed (maintainer needs more info)

The first thing to do is to move up to the -dev version. Odds are the problem is fixed there.

karens’s picture

Status: Postponed (maintainer needs more info) » Fixed

Fixed in latest dev.

ralva83638’s picture

Version: 7.x-2.0-alpha3 » 7.x-2.x-dev
Status: Fixed » Active

The latest dev version did fix the issue of not grouping by month, thanks.

The issue, and sorry for posting two issues in the same post but they seemed sort of related, anyway the issue of a node with the date of July 1, 2011 showing up in the June group is still happening.

karens’s picture

Status: Active » Fixed

Please don't mix multiple problems into the same issue. I am guessing that the date that is a problem has a granularity that does not include time. If so, that should now be fixed (they were getting timezone adjustments applied which sometimes pushed them to the wrong month.) This was just fixed, so be sure you get the latest code.

If that's not fixed, please open a new issue.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.