Skip to content

Commit

Permalink
Remove the current day
Browse files Browse the repository at this point in the history
  • Loading branch information
Roderik van der Veer committed Apr 28, 2014
1 parent 7f6bf6d commit 87075bb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions DataFixtures/ORM/AnalyticsOverviewFixtures.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,25 +35,25 @@ public function load(ObjectManager $em)
$week = new AnalyticsOverview();
$week->setTitle('dashboard.ga.tab.last_7_days');
$week->setTimespan(7);
$week->setStartOffset(0);
$week->setStartOffset(1);
$em->persist($week);

$month = new AnalyticsOverview();
$month->setTitle('dashboard.ga.tab.last_30_days');
$month->setTimespan(30);
$month->setStartOffset(0);
$month->setStartOffset(1);
$em->persist($month);

$year = new AnalyticsOverview();
$year->setTitle('dashboard.ga.tab.last_12_months');
$year->setTimespan(365);
$year->setStartOffset(0);
$year->setStartOffset(1);
$em->persist($year);

$yearToDate = new AnalyticsOverview();
$yearToDate->setTitle('dashboard.ga.tab.year_to_date');
$yearToDate->setTimespan(365);
$yearToDate->setStartOffset(0);
$yearToDate->setStartOffset(1);
$yearToDate->setUseYear(true);
$em->persist($yearToDate);

Expand Down

0 comments on commit 87075bb

Please sign in to comment.