You are here

constant DATE_REGEX_LOOSE in Date 5

Same name and namespace in other branches
  1. 5.2 date_api.module \DATE_REGEX_LOOSE
  2. 6.2 date_api.module \DATE_REGEX_LOOSE
  3. 6 date_api.module \DATE_REGEX_LOOSE
  4. 7.3 date_api/date_api.module \DATE_REGEX_LOOSE
  5. 7 date_api/date_api.module \DATE_REGEX_LOOSE
  6. 7.2 date_api/date_api.module \DATE_REGEX_LOOSE
1 use of DATE_REGEX_LOOSE
date_ical_parse_date in ./date_api_ical.inc
Parse a ical date element.

File

./date_api.module, line 22
A module that will make the date API available to other modules with no dependencies on CCK. To use it, install the module, then add the following code wherever date api functions are needed:

Code

define('DATE_REGEX_LOOSE', '/(\\d{4})-?(\\d{2})-?(\\d{2})([T\\s]?(\\d{2}):?(\\d{2}):?(\\d{2})(\\.\\d+)?(Z|[\\+\\-]\\d{2}:?\\d{2})?)?/');