Open jeremyFreeAgent opened 11 years ago
$lastyear = new \DatePeriod(new \DateTime('......'), new \DateTime('P1M'), new \DateTime('......'));
$bitter->getStats('action', $datePeriod);
We have to override DatePeriod to get end date and to add some options.
Something like: