Location: PHPKode > projects > CrazyStat > stat/usr/presets/11_current_period.php
<?php $config_preset['11_current_period']=array (
  'modules' => 
  array (
    'weekday' => 
    array (
      'time_rel_start' => '%Y-W%W-1',
      'time_rel_end' => '%Y-W%W-1 +1week -1second',
      'time_rel_name' => '%Y-W%W',
      'time_span' => true,
      'time_rel' => true,
      'time_rel_startid' => '',
    ),
    'month' => 
    array (
      'time_rel_start' => '%Y/1/1',
      'time_rel_end' => '%Y/1/1 +1year -1second',
      'time_rel_name' => '%Y',
      'time_span' => true,
      'time_rel' => true,
      'time_rel_startid' => '',
    ),
    'day' => 
    array (
      'time_rel_start' => '%Y/%m/1',
      'time_rel_end' => '%Y/%m/1 +1month -1second',
      'time_rel_name' => '%Y/%m',
      'time_span' => true,
      'time_rel' => true,
      'time_rel_startid' => '',
    ),
    'hour' => 
    array (
      'time_rel_start' => 'today',
      'time_rel_end' => 'tomorrow -1second',
      'time_rel_name' => '%Y/%m/%d',
      'time_span' => true,
      'time_rel' => true,
      'time_rel_startid' => '',
    ),
    'browser' => 
    array (
      'time_rel_start' => '%Y/%m/1',
      'time_rel_end' => '%Y/%m/1 +1month -1second',
      'time_rel_name' => '%Y/%m',
      'time_span' => true,
      'time_rel' => true,
      'time_rel_startid' => '',
    ),
    'file' => 
    array (
      'time_rel_start' => '%Y/%m/1',
      'time_rel_end' => '%Y/%m/1 +1month -1second',
      'time_rel_name' => '%Y/%m',
      'time_span' => true,
      'time_rel' => true,
      'time_rel_startid' => '',
    ),
    'resolution' => 
    array (
      'time_rel_start' => '%Y/%m/1',
      'time_rel_end' => '%Y/%m/1 +1month -1second',
      'time_rel_name' => '%Y/%m',
      'time_span' => true,
      'time_rel' => true,
      'time_rel_startid' => '',
    ),
    'colordepth' => 
    array (
      'time_rel_start' => '%Y/%m/1',
      'time_rel_end' => '%Y/%m/1 +1month -1second',
      'time_rel_name' => '%Y/%m',
      'time_span' => true,
      'time_rel' => true,
      'time_rel_startid' => '',
    ),
    'system' => 
    array (
      'time_rel_start' => '%Y/%m/1',
      'time_rel_end' => '%Y/%m/1 +1month -1second',
      'time_rel_name' => '%Y/%m',
      'time_span' => true,
      'time_rel' => true,
      'time_rel_startid' => '',
    ),
    'referer' => 
    array (
      'time_rel_start' => '%Y/%m/1',
      'time_rel_end' => '%Y/%m/1 +1month -1second',
      'time_rel_name' => '%Y/%m',
      'time_span' => true,
      'time_rel' => true,
      'time_rel_startid' => '',
    ),
    'keyword' => 
    array (
      'time_rel_start' => '%Y/%m/1',
      'time_rel_end' => '%Y/%m/1 +1month -1second',
      'time_rel_name' => '%Y/%m',
      'time_span' => true,
      'time_rel' => true,
      'time_rel_startid' => '',
    ),
  ),
  'name' => L_SHOWSTAT_PRESETS_CURRENT_PERIOD,
  'cache' => false,
  'cacheable' => false
); ?>
Return current item: CrazyStat