Closed (duplicate)
Project:
Date
Version:
5.x-1.7
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Nov 2007 at 03:09 UTC
Updated:
2 Dec 2007 at 17:12 UTC
When I upgraded the module from 1.6 to 1.7, my views with a datestamp argument stopped working.
I changed this code IN function **date_views_date_range** to make it work again:
+ $min_date = date_unset_granularity($min_date, date_granularity_array($field), DATE_ISO);
+ $max_date = date_unset_granularity($max_date, date_granularity_array($field), DATE_ISO);
- $min_date = date_unset_granularity($min_date, date_granularity_array($field), $field['type']);
- $max_date = date_unset_granularity($max_date, date_granularity_array($field), $field['type']);
I'm not familiar enough with the date project to know if this is the right fix or not, but it worked for me.
Cheers.
Comments
Comment #1
karens commentedI'm going to assume this is a part of the same problem as http://drupal.org/node/189093, so track that issue for a fix.