Needs review
Project:
Views Partial Date
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Oct 2015 at 20:24 UTC
Updated:
10 Apr 2016 at 13:57 UTC
Jump to comment: Most recent, Most recent file
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.