Bug: when using views date argument with granularity of month, if only year is given in the argument (ie /2009), then the title views argument title shows as 'January, 2009'
Expected: I expect the title to be the granularity of the argument: '2009'
Patch: attached is a patch to date_api_argument_handler.inc that sets the title to the granularity of the argument given and not the granularity of the argument settings.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | date_api_argument_title_granularity-599232-4.patch | 699 bytes | osopolar |
Comments
Comment #1
donquixote commentedCool!
I was looking for the same thing, but didn't find the arg_granularity method.
Comment #2
osopolarThis works for me too. Not sure if this problem exists in D7 too.
Comment #4
osopolarMade patch p1 compatible by prefixing a/ b/.
Comment #5
osopolarComment #6
osopolarAccording to #2 I set this to RTBC again as the code itself didn't change.
Comment #8
osopolarCan't see how the failure belongs to this issue, what is wrong?
Comment #9
damienmckennaUnfortunately the D6 version of this module is no longer supported, but we appreciate the time you put into this. If this request is relevant for D7 too, please reopen the issue. Thanks.