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.
The date format constant is defined in the Facetapi module, which is not a dependency of the module. If you don't install you cannot use date filters, they all get formatted to a wrong sequence.
Comment | File | Size | Author |
---|---|---|---|
#1 | apachesolr_views_invalid_date_in_views_filter_1991722_1.patch | 1.36 KB | itarato |
Comments
Comment #1
itarato CreditAttribution: itarato commentedHere you are a patch, please let me know if it's all right.
Comment #2
George Bills CreditAttribution: George Bills commentedA broader problem with the date handling is that the module is taking any sort of date, interpreting it ambiguously (is 2/3/84 the second of March or the third of February?) and then blindly printing it out as UTC time regardless of timezone. So the date search will work perfectly in the UK (actual UTC time), but in Australia all of the results from date filtering will be ten hours out.
Comment #3
MiroslavBanov CreditAttribution: MiroslavBanov commentedPatch #1 fixes the problem.
As for the issues in comment #2, two separate issues should be opened (if they aren't already).
Comment #4
MiroslavBanov CreditAttribution: MiroslavBanov commentedPatch no longer applies to dev.
Comment #6
MiroslavBanov CreditAttribution: MiroslavBanov commented