Is it a bug ?
| Project: | Date View Feedback |
| Version: | 5.x-2.0-rc |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | nadongtae |
| Status: | needs review |
This is what I did :
First, I created a page view with date argument. My view look like this testview/$arg.
Second, I created a post with a field date such as : 2008-03-05 11:00 (I used "Select list" to choose).
Third, I entered this : testview/2008-03-05T11:00:00--2008-03-05T11:00:00, and the result I got was an empty page. I wonder where my node was ?
After that, I used devel module and discovered that the query did not use the format like 2008-03-05T11:00:00 to compare. It used this 2008-03-05 11:00:00. I used phpMyadmin to test the query string with format like 2008-03-05T11:00:00 and it was correct.
Then, I changed the code in file date_views.inc line : 365,366 ,622,623 which are str_replace('T', ' ', $range[1])
I think it must be only $range[0] / $range[1] and do not need any replaces here.
I do a right thing , don't I ?
