Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Is there any particular reason that the date filter uses strtotime($this->value['value'], 0)
? As far as I can tell, that's all that's keeping the date filter from being able to accept relative values.
Comment | File | Size | Author |
---|---|---|---|
#1 | relative_dates-1888130-1.patch | 1.05 KB | coleman.sean.c |
Comments
Comment #1
coleman.sean.c CreditAttribution: coleman.sean.c commentedPatch attached. Allows a value of 'now' to behave sensibly in a views date filter, haven't observed any ill side-effects.
Comment #2
Gerben Zaagsma CreditAttribution: Gerben Zaagsma commentedThis patch works. Thanks a lot for this!
Comment #3
MiroslavBanov CreditAttribution: MiroslavBanov commentedAlready fixed.