You are here

function date_range_arg_options in Date 5

Same name and namespace in other branches
  1. 5.2 date/date_views.inc \date_range_arg_options()

Define groupby options for date range summaries

1 string reference to 'date_range_arg_options'
_date_views_arguments in ./date_views.inc
Views arguments for Date fields.

File

./date_views.inc, line 543

Code

function date_range_arg_options() {
  return array(
    'year' => t('summarize by year'),
    'month' => t('summarize by month'),
    'day' => t('summarize by day'),
    'week' => t('summarize by week'),
    'hour' => t('summarize by hour'),
  );
}