Thanks for working on this. I think it is going to help out a lot of people that have been stuck without this ability.
Is there a way to enter a relative date like now? If not, is it something you will be adding in the future?
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | views_partial_date-relative_dates-2596751-6.patch | 10.18 KB | ciss |
Comments
Comment #2
CJdriver commentedHas there been anymore thought about adding this feature? I've tried tweaking the module myself but haven't had any luck. I see the request is a few months old now.
Comment #3
ciss commentedHi, could you provide an example use case?
Comment #4
ciss commentedComment #5
ciss commentedThought about this long and hard, and my major concern with this feature request (while I understand a need for it) is that users might not grasp how this module works (it merely filters on one aspect of a date) and expect it to behave similar to relative dates in date_views.
While this feature is a no-brainer for fixed ranges (month, day of the week, hour, minute), it becomes quite problematic for varying ranges (week varying between 52 and 53, day varying between 28 and 31). Even hours might be problematic (not sure if DST is automatically handled).
tl;dr: Relative partial dates can only be provided in a reliable fashion for the following options:
Comment #6
ciss commentedTook a shot at it. exposed filter support has been disabled for now (wasn't properly implemented in the first place).
Edit: Range wrapping is implemented, but not yet properly tested.