property commerce_reports_handler_field_date::$granularities in Commerce Reporting 7.3
File
- includes/
views/ commerce_reports_handler_field_date.inc, line 11 - Views field handler for the created date on orders.
Class
- commerce_reports_handler_field_date
- @file Views field handler for the created date on orders.
Code
var $granularities = array(
'Y-m' => array(
'label' => 'Monthly',
'interval' => 2764800,
'normalizationFunction' => '_normalizeMonthly',
'displayFormat' => 'F Y',
),
'o-W' => array(
'label' => 'Weekly',
'interval' => 604800,
'normalizationFunction' => '_normalizeWeekly',
),
'Y-m-d' => array(
'label' => 'Daily',
'interval' => 86400,
),
);