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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

itarato’s picture

Here you are a patch, please let me know if it's all right.

George Bills’s picture

A 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.

MiroslavBanov’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

Patch #1 fixes the problem.
As for the issues in comment #2, two separate issues should be opened (if they aren't already).

MiroslavBanov’s picture

Assigned: itarato » Unassigned
Status: Reviewed & tested by the community » Needs work

Patch no longer applies to dev.

  • MiroslavBanov committed e02d95f on 7.x-1.x authored by itarato
    Issue #1991722 by itarato: Dates are malformed due to undefined define.
    
MiroslavBanov’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.