You are here

function theme_date_all_day_label in Date 7

Same name and namespace in other branches
  1. 8 date_all_day/date_all_day.module \theme_date_all_day_label()
  2. 5.2 date/date.theme \theme_date_all_day_label()
  3. 6.2 date/date.theme \theme_date_all_day_label()
  4. 7.3 date_all_day/date_all_day.module \theme_date_all_day_label()
  5. 7.2 date_all_day/date_all_day.module \theme_date_all_day_label()

Theme the way an 'all day' label will look.

2 theme calls to theme_date_all_day_label()
date_formatter_process in ./date.module
Helper function for creating formatted date arrays from a formatter.
theme_date_all_day in ./date.theme
Adjust from/to date format to account for 'all day' .

File

./date.theme, line 276
Theme functions.

Code

function theme_date_all_day_label() {
  return '(' . t('All day', array(), array(
    'context' => 'datetime',
  )) . ')';
}