Update docs/hooks.txt for ShowSearchHitTitle
[mediawiki.git] / includes / libs / time / defines.php
blobff4dde86ad7ab402b6fe01d608130cc13c5869b5
1 <?php
3 /**
4 * Unix time - the number of seconds since 1970-01-01 00:00:00 UTC
5 */
6 define( 'TS_UNIX', 0 );
8 /**
9 * MediaWiki concatenated string timestamp (YYYYMMDDHHMMSS)
11 define( 'TS_MW', 1 );
13 /**
14 * MySQL DATETIME (YYYY-MM-DD HH:MM:SS)
16 define( 'TS_DB', 2 );
18 /**
19 * RFC 2822 format, for E-mail and HTTP headers
21 define( 'TS_RFC2822', 3 );
23 /**
24 * ISO 8601 format with no timezone: 1986-02-09T20:00:00Z
26 * This is used by Special:Export
28 define( 'TS_ISO_8601', 4 );
30 /**
31 * An Exif timestamp (YYYY:MM:DD HH:MM:SS)
33 * @see http://exif.org/Exif2-2.PDF The Exif 2.2 spec, see page 28 for the
34 * DateTime tag and page 36 for the DateTimeOriginal and
35 * DateTimeDigitized tags.
37 define( 'TS_EXIF', 5 );
39 /**
40 * Oracle format time.
42 define( 'TS_ORACLE', 6 );
44 /**
45 * Postgres format time.
47 define( 'TS_POSTGRES', 7 );
49 /**
50 * ISO 8601 basic format with no timezone: 19860209T200000Z. This is used by ResourceLoader
52 define( 'TS_ISO_8601_BASIC', 9 );