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
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ class Iace_ReportsController extends App_Controller_Action
$endDate->setSecond(0);
$endDate->addDay(1);
$startDate = clone $endDate;
$startDate->subDay(8);
$startDate->subDay(7);
} else {
$endDate = new Zend_Date(0);
$startDate = $startDate;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment