From 87075bb826de5e382953f70af97e36d43dfc1d4f Mon Sep 17 00:00:00 2001 From: Roderik van der Veer Date: Mon, 28 Apr 2014 18:10:31 +0200 Subject: [PATCH] Remove the current day --- DataFixtures/ORM/AnalyticsOverviewFixtures.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/DataFixtures/ORM/AnalyticsOverviewFixtures.php b/DataFixtures/ORM/AnalyticsOverviewFixtures.php index aa9881b5..3c669980 100755 --- a/DataFixtures/ORM/AnalyticsOverviewFixtures.php +++ b/DataFixtures/ORM/AnalyticsOverviewFixtures.php @@ -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);