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.
When adding a views filter and comparing a date field against a relative date (for instance "now"), the filter only compares the days. It does not take the time into account.
Comment | File | Size | Author |
---|---|---|---|
#2 | apachesolr-relative-date-filter-2650250-1.patch | 721 bytes | psha |
|
Comments
Comment #2
psha CreditAttribution: psha commentedThis patch uses the DateObject::hasTime() method to accurately determine whether the argument has time component.
Comment #3
psha CreditAttribution: psha commentedComment #7
MiroslavBanov CreditAttribution: MiroslavBanov commentedIgnore this testbot. Thanks for the patch.