Révision ee46a8ed
Ajouté par Assos Assos il y a plus de 7 ans
drupal7/sites/all/modules/date/date.theme | ||
---|---|---|
349 | 349 |
} |
350 | 350 |
|
351 | 351 |
// Wrap the result with the attributes. |
352 |
$output = '<div class="date-display-range">' . t('!start-date to !end-date', array(
|
|
352 |
$output = '<span class="date-display-range">' . t('!start-date to !end-date', array(
|
|
353 | 353 |
'!start-date' => $start_date, |
354 | 354 |
'!end-date' => $end_date, |
355 |
)) . '</div>';
|
|
355 |
)) . '</span>';
|
|
356 | 356 |
|
357 | 357 |
// Add remaining message and return. |
358 | 358 |
return $output . $show_remaining_days; |
... | ... | |
378 | 378 |
'end_date' => $dates['value2']['local']['object'], |
379 | 379 |
'interval' => $options['interval'], |
380 | 380 |
'interval_display' => $options['interval_display'], |
381 |
'use_end_date' => !empty($options['use_end_date']) ? |
|
382 |
$options['use_end_date'] : FALSE, |
|
381 | 383 |
); |
382 | 384 |
|
383 | 385 |
if ($return = theme('date_time_ago', $time_ago_vars)) { |
Formats disponibles : Unified diff
Update date 7.x-2.9 -> 7.x-2.10-rc1