Révision c9e51f47
Ajouté par Julien Enselme il y a environ 7 ans
drupal7/includes/date.inc | ||
---|---|---|
12 | 12 |
$formats = array(); |
13 | 13 |
|
14 | 14 |
// Short date formats. |
15 |
$formats[] = array( |
|
16 |
'type' => 'short', |
|
17 |
'format' => 'Y-m-d H:i', |
|
18 |
'locales' => array(), |
|
19 |
); |
|
20 | 15 |
$formats[] = array( |
21 | 16 |
'type' => 'short', |
22 | 17 |
'format' => 'm/d/Y - H:i', |
... | ... | |
37 | 32 |
'format' => 'd.m.Y - H:i', |
38 | 33 |
'locales' => array('de-ch', 'de-de', 'de-lu', 'fi-fi', 'fr-ch', 'is-is', 'pl-pl', 'ro-ro', 'ru-ru'), |
39 | 34 |
); |
35 |
$formats[] = array( |
|
36 |
'type' => 'short', |
|
37 |
'format' => 'Y-m-d H:i', |
|
38 |
'locales' => array(), |
|
39 |
); |
|
40 | 40 |
$formats[] = array( |
41 | 41 |
'type' => 'short', |
42 | 42 |
'format' => 'm/d/Y - g:ia', |
... | ... | |
84 | 84 |
); |
85 | 85 |
|
86 | 86 |
// Medium date formats. |
87 |
$formats[] = array( |
|
88 |
'type' => 'medium', |
|
89 |
'format' => 'D, Y-m-d H:i', |
|
90 |
'locales' => array(), |
|
91 |
); |
|
92 | 87 |
$formats[] = array( |
93 | 88 |
'type' => 'medium', |
94 | 89 |
'format' => 'D, m/d/Y - H:i', |
... | ... | |
104 | 99 |
'format' => 'D, Y/m/d - H:i', |
105 | 100 |
'locales' => array('en-ca', 'fr-ca', 'no-no', 'sv-se'), |
106 | 101 |
); |
102 |
$formats[] = array( |
|
103 |
'type' => 'medium', |
|
104 |
'format' => 'D, Y-m-d H:i', |
|
105 |
'locales' => array(), |
|
106 |
); |
|
107 | 107 |
$formats[] = array( |
108 | 108 |
'type' => 'medium', |
109 | 109 |
'format' => 'F j, Y - H:i', |
Formats disponibles : Unified diff
Udpate to 7.54