Révision 599a39cd
Ajouté par Assos Assos il y a environ 3 ans
drupal7/sites/all/modules/date/date.tokens.inc | ||
---|---|---|
62 | 62 |
date_timezone_set($date, timezone_open($item['timezone'])); |
63 | 63 |
} |
64 | 64 |
$timestamp = !empty($date) ? date_format_date($date, 'custom', 'U') : ''; |
65 |
// Generate the token replacements, using the date token type provided |
|
66 |
// by system.module.
|
|
65 |
// Generate the token replacements, using the date token type provided by
|
|
66 |
// system.module. |
|
67 | 67 |
$replacements += token_generate('date', $date_tokens, array('date' => $timestamp), $options); |
68 | 68 |
} |
69 | 69 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules