You are here

constant DATE_ISO in Date 6

Same name and namespace in other branches
  1. 8 date_api/date_api.module \DATE_ISO
  2. 5.2 date_api.module \DATE_ISO
  3. 5 date_api.module \DATE_ISO
  4. 6.2 date_api.module \DATE_ISO
  5. 7.3 date_api/date_api.module \DATE_ISO
  6. 7 date_api/date_api.module \DATE_ISO
  7. 7.2 date_api/date_api.module \DATE_ISO

Set up some constants.

Includes standard date types, format strings, strict regex strings for ISO and DATETIME formats (seconds are optional).

The loose regex will find any variety of ISO date and time, with or without time, with or without dashes and colons separating the elements, and with either a 'T' or a space separating date and time.

13 uses of DATE_ISO
DateAPI::testDateAPI in tests/date_api.test
date_api_fields in ./date_api.views.inc
Identify all potential date/timestamp fields.
date_convert in ./date_api.module
Date conversion helper function.
date_copy_import_ical_form_submit in date_copy/date_copy.module
date_formatter_process in date/date.module
Helper function for creating formatted date arrays from a formatter.

... See full list

File

./date_api.module, line 20
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_ISO', 'date');