You are here

constant FACETAPI_REGEX_DATE in Facet API 7.2

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

Regex pattern for date queries.

2 uses of FACETAPI_REGEX_DATE
facetapi.module in ./facetapi.module
An abstracted facet API that can be used by various search backends.
facetapi_get_next_date_increment in ./facetapi.date.inc
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 backends.

Code

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