Skip to content
Snippets Groups Projects
Commit 393c4b4f authored by Tim Steiner's avatar Tim Steiner
Browse files

Fix bug where weekly report shows a span of 8 days instead of 7

parent 1e0c3ab7
Branches
Tags
No related merge requests found
...@@ -28,7 +28,7 @@ class Iace_ReportsController extends App_Controller_Action ...@@ -28,7 +28,7 @@ class Iace_ReportsController extends App_Controller_Action
$endDate->setSecond(0); $endDate->setSecond(0);
$endDate->addDay(1); $endDate->addDay(1);
$startDate = clone $endDate; $startDate = clone $endDate;
$startDate->subDay(8); $startDate->subDay(7);
} else { } else {
$endDate = new Zend_Date(0); $endDate = new Zend_Date(0);
$startDate = $startDate; $startDate = $startDate;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment