You are here

constant FACETAPI_REGEX_DATE in Facet API 6

Same name and namespace in other branches
  1. 6.3 facetapi.module \FACETAPI_REGEX_DATE
  2. 7.2 facetapi.module \FACETAPI_REGEX_DATE
  3. 7 facetapi.module \FACETAPI_REGEX_DATE

Regex pattern for date queries.

1 use of FACETAPI_REGEX_DATE
facetapi_next_date_increment_get in ./facetapi.module
Returns the next increment from the given ISO date and gap. This function is useful for getting the upper limit of a date range from the given start date.

File

./facetapi.module, line 61
An abstracted facet API that can be used by various search backens.

Code

define('FACETAPI_REGEX_DATE', '/^(\\d{4})-(\\d{2})-(\\d{2})T(\\d{2}):(\\d{2}):(\\d{2})Z$/');