Merge "Convert Special:DeletedContributions to use OOUI."
[lhc/web/wiklou.git] / includes / libs / time / defines.php
1 <?php
2
3 /**
4 * Unix time - the number of seconds since 1970-01-01 00:00:00 UTC
5 */
6 define( 'TS_UNIX', 0 );
7
8 /**
9 * MediaWiki concatenated string timestamp (YYYYMMDDHHMMSS)
10 */
11 define( 'TS_MW', 1 );
12
13 /**
14 * MySQL DATETIME (YYYY-MM-DD HH:MM:SS)
15 */
16 define( 'TS_DB', 2 );
17
18 /**
19 * RFC 2822 format, for E-mail and HTTP headers
20 */
21 define( 'TS_RFC2822', 3 );
22
23 /**
24 * ISO 8601 format with no timezone: 1986-02-09T20:00:00Z
25 *
26 * This is used by Special:Export
27 */
28 define( 'TS_ISO_8601', 4 );
29
30 /**
31 * An Exif timestamp (YYYY:MM:DD HH:MM:SS)
32 *
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.
36 */
37 define( 'TS_EXIF', 5 );
38
39 /**
40 * Oracle format time.
41 */
42 define( 'TS_ORACLE', 6 );
43
44 /**
45 * Postgres format time.
46 */
47 define( 'TS_POSTGRES', 7 );
48
49 /**
50 * ISO 8601 basic format with no timezone: 19860209T200000Z. This is used by ResourceLoader
51 */
52 define( 'TS_ISO_8601_BASIC', 9 );