Closed (works as designed)
Project:
Views (for Drupal 7)
Version:
7.x-3.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Mar 2012 at 05:43 UTC
Updated:
18 Jul 2016 at 06:30 UTC
Jump to comment: Most recent
Comments
Comment #1
rdeboerIf it is NOT currently possible through the UI then a realisation of this feature can't be too far away, as I noticed when I got Views to output the query executes that it generates something like this for this case of a Fixed value of "201203". This is regardless of whether the "Start/End date range" radio box is selected:
Comment #2
rdeboerOk, so it is possible.
Found by trawling through the source code that the "to" separator is double-hyphen (--).
Example: 2012-03-25--2012-03-31.
Is this Views' best kept secret?
Comment #3
jamesTbaker commented@RdeBoer, you're the awesomest! Thanks for the solution!
Comment #3.0
jamesTbaker commented.
Comment #4
qasimzee commentedYou sir made my day. Thanks
Comment #5
rdeboerFor more more flexible date and other ranges, see this module: http://drupal.org/project/contextual_range_filter
Comment #6
poiu commentedPeople from the future: make sure that "Date Views" (a Date submodule) is enabled or the double-hyphen thing won't work.