Closed (fixed)
Project:
Date
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Oct 2006 at 16:25 UTC
Updated:
26 Oct 2006 at 16:16 UTC
if a create a view with a date range arguments and I want to display node from the 1 month period starting Oct 01 2006 (2006-10-01P1M) it doesn't display any nodes (and the empty view message is displayed) even if there are nodes on that range (infact if a view the 1 week period from the same day (2006-10-01P1W) it displays nodes).
So I think there must be something wrong in the calculation of the 'P1M' arguments since the date browser by month doesn't work too (no nodes are displayed and the navigation links work strangely).
This happens with CCK 4.7 and date 4,7 (Sept 30th) both with date and datestamp fields.
Comments
Comment #1
dodorama commentedIs anyone experiencing this?
Comment #2
karens commentedOK, now I'm starting to see this. I'm working on it...
Comment #3
karens commentedI just made changes to both cvs and 4.7 version. I think that will fix the problems.
Comment #4
dodorama commentedeverything works like a charm, now.
Thank you again, Karen.
Just a note.
Using the date browser by month it doesn't allow you to browse next year views (ie: even if I have node types with a 2007 date, when I hit next in the view of the month of December 2006 it goes back to this month view (and not to Jan 2007 view) . Is this the correct way it should work?
Comment #5
karens commentedHmm, no. I'll have to take a look at that.
Comment #6
dodorama commentedI almost found where the problem is:
the date browser prev and next links point to an URL (when jumping to the next year) where the month argument is rendered as '1' and not '01'. So that the argument results to be: 2007-1P1M without the leading '0' . And the view doesn't seem to handle this correctly.
Hope this is clear and can help you solve the issue, since I haven't been able to.
Comment #7
karens commentedShould be fixed now in both cvs and 4.7 versions.
Comment #8
(not verified) commented