function theme_date_display_range in Date 7
Same name and namespace in other branches
- 8 date.theme \theme_date_display_range()
- 5.2 date/date.theme \theme_date_display_range()
- 6.2 date/date.theme \theme_date_display_range()
- 7.3 date.theme \theme_date_display_range()
- 7.2 date.theme \theme_date_display_range()
1 theme call to theme_date_display_range()
- theme_date_display_combination in ./
date.theme - Theme from/to date combination in the view.
File
- ./
date.theme, line 162 - Theme functions.
Code
function theme_date_display_range($vars) {
$date1 = $vars['date1'];
$date2 = $vars['date2'];
$timezone = !empty($vars['timezone']) ? $vars['timezone'] : NULL;
return '<span class="date-display-start">' . $date1 . '</span>' . '<span class="date-display-separator"> - </span>' . '<span class="date-display-end">' . $date2 . $timezone . '</span>';
}