constant DATE_REGEX_DATETIME in Date 7
Same name and namespace in other branches
- 5.2 date_api.module \DATE_REGEX_DATETIME
- 5 date_api.module \DATE_REGEX_DATETIME
- 6.2 date_api.module \DATE_REGEX_DATETIME
- 6 date_api.module \DATE_REGEX_DATETIME
- 7.3 date_api/date_api.module \DATE_REGEX_DATETIME
- 7.2 date_api/date_api.module \DATE_REGEX_DATETIME
File
- date_api/
date_api.module, line 35 - This module will make the date API available to other modules. Designed to provide a light but flexible assortment of functions and constants, with more functionality in additional files that are not loaded unless other modules specifically include them.
Code
define('DATE_REGEX_DATETIME', '/(\\d{4})-(\\d{2})-(\\d{2})\\s(\\d{2}):(\\d{2}):?(\\d{2})?/');